feat: sync account freeze lifecycle
This commit is contained in:
parent
76bfc5100f
commit
47fcf0ea41
40 changed files with 1363 additions and 196 deletions
10
deploy/migrations/0088_account_freeze_state.down.sql
Normal file
10
deploy/migrations/0088_account_freeze_state.down.sql
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
ALTER TABLE account_restrictions
|
||||
DROP CONSTRAINT IF EXISTS account_restrictions_freeze_shape_check,
|
||||
DROP COLUMN IF EXISTS frozen_since,
|
||||
DROP COLUMN IF EXISTS frozen_until,
|
||||
DROP COLUMN IF EXISTS appeal_url;
|
||||
|
||||
ALTER INDEX account_restrictions_frozen_idx
|
||||
RENAME TO account_send_restrictions_frozen_idx;
|
||||
|
||||
ALTER TABLE account_restrictions RENAME TO account_send_restrictions;
|
||||
Loading…
Add table
Add a link
Reference in a new issue