diff options
| author | lain <lain@soykaf.club> | 2018-03-27 19:48:01 +0200 |
|---|---|---|
| committer | lain <lain@soykaf.club> | 2018-03-27 19:48:01 +0200 |
| commit | b56bb88c02dcbbc16ca3f861df5d5e09828fc56a (patch) | |
| tree | fa8e611fed026b40ea9276122f266df94e014325 /priv | |
| parent | 37e5014d3ee571622d324cdadfc2bf7c345cc1fc (diff) | |
| download | pleroma-b56bb88c02dcbbc16ca3f861df5d5e09828fc56a.tar.gz pleroma-b56bb88c02dcbbc16ca3f861df5d5e09828fc56a.zip | |
Drop index for 'local', it confuses the query planner.
Diffstat (limited to 'priv')
| -rw-r--r-- | priv/repo/migrations/20180327174350_drop_local_index_on_activities.exs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/priv/repo/migrations/20180327174350_drop_local_index_on_activities.exs b/priv/repo/migrations/20180327174350_drop_local_index_on_activities.exs new file mode 100644 index 000000000..70f2c9fe6 --- /dev/null +++ b/priv/repo/migrations/20180327174350_drop_local_index_on_activities.exs @@ -0,0 +1,7 @@ +defmodule Pleroma.Repo.Migrations.DropLocalIndexOnActivities do + use Ecto.Migration + + def change do + drop index(:users, [:local]) + end +end |
