projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fix/users_ap_id_not_null' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20180903114437_users_add_is_moderator_index.exs
diff --git
a/priv/repo/migrations/20180903114437_users_add_is_moderator_index.exs
b/priv/repo/migrations/20180903114437_users_add_is_moderator_index.exs
index adce28bdfedea406ec9fc99e82e8fcc07c908930..cbe79de05d6f8f6f6a0319a4f16ae925298fbf70 100644
(file)
--- a/
priv/repo/migrations/20180903114437_users_add_is_moderator_index.exs
+++ b/
priv/repo/migrations/20180903114437_users_add_is_moderator_index.exs
@@
-2,6
+2,8
@@
defmodule Pleroma.Repo.Migrations.UsersAddIsModeratorIndex do
use Ecto.Migration
def change do
use Ecto.Migration
def change do
- create_if_not_exists index(:users, ["(info->'is_moderator')"], name: :users_is_moderator_index, using: :gin)
+ create_if_not_exists(
+ index(:users, ["(info->'is_moderator')"], name: :users_is_moderator_index, using: :gin)
+ )
end
end
end
end