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 feature/return-total-for-reports
[akkoma]
/
priv
/
repo
/
migrations
/
20190123092341_users_add_is_admin_index.exs
diff --git
a/priv/repo/migrations/20190123092341_users_add_is_admin_index.exs
b/priv/repo/migrations/20190123092341_users_add_is_admin_index.exs
index ba6ff78b5e1b8dbf0ac428916e6778eeca3b0cd8..25f248c595bd71de1a8580891c1f5c02f51d26bd 100644
(file)
--- a/
priv/repo/migrations/20190123092341_users_add_is_admin_index.exs
+++ b/
priv/repo/migrations/20190123092341_users_add_is_admin_index.exs
@@
-2,6
+2,6
@@
defmodule Pleroma.Repo.Migrations.UsersAddIsAdminIndex do
use Ecto.Migration
def change do
- create(index(:users, ["(info->'is_admin')"], name: :users_is_admin_index, using: :gin))
+ create
_if_not_exists
(index(:users, ["(info->'is_admin')"], name: :users_is_admin_index, using: :gin))
end
end