projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[#1149] Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job...
[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 ba6b90ea966efd326c6ab9cfb24233ed8da86351..adce28bdfedea406ec9fc99e82e8fcc07c908930 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,6
@@
defmodule Pleroma.Repo.Migrations.UsersAddIsModeratorIndex do
use Ecto.Migration
def change do
- create 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