projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add an index on object likes
[akkoma]
/
priv
/
repo
/
migrations
/
20180530123448_add_list_follow_index.exs
diff --git
a/priv/repo/migrations/20180530123448_add_list_follow_index.exs
b/priv/repo/migrations/20180530123448_add_list_follow_index.exs
index d6603e916100691f52db5b90ad2c25eca0a4d951..86b8de30a3e54e71b2c6d0eb428ad0ce469de4ba 100644
(file)
--- a/
priv/repo/migrations/20180530123448_add_list_follow_index.exs
+++ b/
priv/repo/migrations/20180530123448_add_list_follow_index.exs
@@
-2,6
+2,6
@@
defmodule Pleroma.Repo.Migrations.AddListFollowIndex do
use Ecto.Migration
def change do
- create index(:lists, [:following])
+ create
_if_not_exists
index(:lists, [:following])
end
end