move user disable into deactivation
This commit is contained in:
parent
0f2f7d2cec
commit
db4badc6aa
12 changed files with 36 additions and 83 deletions
|
|
@ -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
|
||||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue