projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into issue/1936
[akkoma]
/
priv
/
repo
/
migrations
/
20200328130139_add_following_relationships_following_id_index.exs
diff --git
a/priv/repo/migrations/20200328130139_add_following_relationships_following_id_index.exs
b/priv/repo/migrations/20200328130139_add_following_relationships_following_id_index.exs
index 4c9faf48f5095f4e2b8466008169d5046b0775a8..884832f84710842bf075d80a082d957623b4ea99 100644
(file)
--- a/
priv/repo/migrations/20200328130139_add_following_relationships_following_id_index.exs
+++ b/
priv/repo/migrations/20200328130139_add_following_relationships_following_id_index.exs
@@
-6,6
+6,6
@@
defmodule Pleroma.Repo.Migrations.AddFollowingRelationshipsFollowingIdIndex do
def change do
drop_if_exists(index(:following_relationships, [:follower_id]))
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
end
end