diff options
author | rinpatch <rinpatch@sdf.org> | 2019-10-08 15:16:39 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-10-08 15:16:39 +0300 |
commit | 32808208bef12996f819d21ca2635837aff98cbf (patch) | |
tree | 677e6798940b76be29771a9a574f544772c52e6b /priv/repo/migrations/20180327175831_actually_drop_local_index.exs | |
parent | 44e0c5cabb157fe2cfc66af0167547ac51f98ff0 (diff) | |
download | pleroma-32808208bef12996f819d21ca2635837aff98cbf.tar.gz pleroma-32808208bef12996f819d21ca2635837aff98cbf.zip |
Enable `mix format` for migrations
Diffstat (limited to 'priv/repo/migrations/20180327175831_actually_drop_local_index.exs')
-rw-r--r-- | priv/repo/migrations/20180327175831_actually_drop_local_index.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/repo/migrations/20180327175831_actually_drop_local_index.exs b/priv/repo/migrations/20180327175831_actually_drop_local_index.exs index 7556336ed..3d52c7c80 100644 --- a/priv/repo/migrations/20180327175831_actually_drop_local_index.exs +++ b/priv/repo/migrations/20180327175831_actually_drop_local_index.exs @@ -2,7 +2,7 @@ defmodule Pleroma.Repo.Migrations.ActuallyDropLocalIndex do use Ecto.Migration def change do - create_if_not_exists index(:users, [:local]) - drop_if_exists index("activities", :local) + create_if_not_exists(index(:users, [:local])) + drop_if_exists(index("activities", :local)) end end |