projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'feature/addressable-lists' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20190411094120_add_index_on_user_info_deactivated.exs
diff --git
a/priv/repo/migrations/20190411094120_add_index_on_user_info_deactivated.exs
b/priv/repo/migrations/20190411094120_add_index_on_user_info_deactivated.exs
index d701dceccf16f4c0eab5086234dcfd6c6baf72f7..c19427f12b788694d24bb6e90d24b29fd1451a63 100644
(file)
--- a/
priv/repo/migrations/20190411094120_add_index_on_user_info_deactivated.exs
+++ b/
priv/repo/migrations/20190411094120_add_index_on_user_info_deactivated.exs
@@
-2,6
+2,6
@@
defmodule Pleroma.Repo.Migrations.AddIndexOnUserInfoDeactivated do
use Ecto.Migration
def change do
- create(index(:users, ["(info->'deactivated')"], name: :users_deactivated_index, using: :gin))
+ create
_if_not_exists
(index(:users, ["(info->'deactivated')"], name: :users_deactivated_index, using: :gin))
end
end