diff options
| author | kaniini <nenolod@gmail.com> | 2019-02-20 16:51:25 +0000 |
|---|---|---|
| committer | kaniini <nenolod@gmail.com> | 2019-02-20 16:51:25 +0000 |
| commit | 54f9e3d38243615da6376338fc85588235586410 (patch) | |
| tree | d1c2525ccfbee6e8e468e77611e46c7797e12d71 /priv | |
| parent | 77fb926afa53a6d156729b1dd1613e1fed0c7910 (diff) | |
| parent | bff9eb5ef7ad446376f68807d4e51db5f2de9515 (diff) | |
| download | pleroma-54f9e3d38243615da6376338fc85588235586410.tar.gz pleroma-54f9e3d38243615da6376338fc85588235586410.zip | |
Merge branch 'feature/reports' into 'develop'
Reports
Closes #83
See merge request pleroma/pleroma!701
Diffstat (limited to 'priv')
| -rw-r--r-- | priv/repo/migrations/20190123092341_users_add_is_admin_index.exs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/priv/repo/migrations/20190123092341_users_add_is_admin_index.exs b/priv/repo/migrations/20190123092341_users_add_is_admin_index.exs new file mode 100644 index 000000000..ba6ff78b5 --- /dev/null +++ b/priv/repo/migrations/20190123092341_users_add_is_admin_index.exs @@ -0,0 +1,7 @@ +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)) + end +end |
