[#2332] Misc. fixes per code change requests.

This commit is contained in:
Ivan Tashkinov 2020-03-30 19:08:37 +03:00
commit 9c94b6a327
2 changed files with 2 additions and 2 deletions

View file

@ -6,6 +6,6 @@ defmodule Pleroma.Repo.Migrations.AddFollowingRelationshipsFollowingIdIndex do
def change do
drop_if_exists(index(:following_relationships, [:follower_id]))
create_if_not_exists(drop_if_exists(index(:following_relationships, [:following_id])))
create_if_not_exists(index(:following_relationships, [:following_id]))
end
end