diff options
| author | Egor Kislitsyn <egor@kislitsyn.com> | 2019-04-11 17:22:42 +0700 |
|---|---|---|
| committer | Egor Kislitsyn <egor@kislitsyn.com> | 2019-04-11 17:22:42 +0700 |
| commit | db4badc6aa71df4cb9372ef4aff699399516ffb2 (patch) | |
| tree | 126b2d7911fd81c9ce70129bba166317357cdf73 /priv | |
| parent | 0f2f7d2cec8297b1b5645643d7584cde561ce628 (diff) | |
| download | pleroma-db4badc6aa71df4cb9372ef4aff699399516ffb2.tar.gz pleroma-db4badc6aa71df4cb9372ef4aff699399516ffb2.zip | |
move user disable into deactivation
Diffstat (limited to 'priv')
| -rw-r--r-- | priv/repo/migrations/20190228121252_users_add_disabled_index.exs | 7 | ||||
| -rw-r--r-- | priv/repo/migrations/20190411094120_add_index_on_user_info_deactivated.exs | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/priv/repo/migrations/20190228121252_users_add_disabled_index.exs b/priv/repo/migrations/20190228121252_users_add_disabled_index.exs deleted file mode 100644 index 7b921d3e7..000000000 --- a/priv/repo/migrations/20190228121252_users_add_disabled_index.exs +++ /dev/null @@ -1,7 +0,0 @@ -defmodule Pleroma.Repo.Migrations.UsersAddDisabledIndex do - use Ecto.Migration - - def change do - create(index(:users, ["(info->'disabled')"], name: :users_disabled_index, using: :gin)) - end -end 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 |
