diff options
| author | kaniini <nenolod@gmail.com> | 2019-05-14 12:06:08 +0000 |
|---|---|---|
| committer | kaniini <nenolod@gmail.com> | 2019-05-14 12:06:08 +0000 |
| commit | 4e69d1239afdf97fe84a1772faa242b8e362b369 (patch) | |
| tree | b37250ceeea947d284cbff32fa5665a3bbdd15f9 /priv | |
| parent | cdcdbd88da76f18c21da7f6f15a29883044902c8 (diff) | |
| parent | c1665fd94de456768ddd59b8873d1bd26878970d (diff) | |
| download | pleroma-4e69d1239afdf97fe84a1772faa242b8e362b369.tar.gz pleroma-4e69d1239afdf97fe84a1772faa242b8e362b369.zip | |
Merge branch 'feature/disable-account' into 'develop'
[#694] allow users to disable their own account
See merge request pleroma/pleroma!895
Diffstat (limited to 'priv')
| -rw-r--r-- | priv/repo/migrations/20190411094120_add_index_on_user_info_deactivated.exs | 7 |
1 files changed, 7 insertions, 0 deletions
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 new file mode 100644 index 000000000..d701dcecc --- /dev/null +++ b/priv/repo/migrations/20190411094120_add_index_on_user_info_deactivated.exs @@ -0,0 +1,7 @@ +defmodule Pleroma.Repo.Migrations.AddIndexOnUserInfoDeactivated do + use Ecto.Migration + + def change do + create(index(:users, ["(info->'deactivated')"], name: :users_deactivated_index, using: :gin)) + end +end |
