add archived status to user account
This commit is contained in:
@ -23,6 +23,7 @@ export enum StatusType {
|
||||
Active = 'ACTIVE',
|
||||
Pending = 'PENDING',
|
||||
Deleted = 'DELETED',
|
||||
Archived = 'ARCHIVED',
|
||||
}
|
||||
|
||||
@Entity()
|
||||
|
||||
9
packages/db/migrations/0188.do.add_archived_status_to_user.sql
Executable file
9
packages/db/migrations/0188.do.add_archived_status_to_user.sql
Executable file
@ -0,0 +1,9 @@
|
||||
-- Type: DO
|
||||
-- Name: add_archived_status_to_user
|
||||
-- Description: Add ARCHIVED status to the user table
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TYPE user_status_type ADD VALUE 'ARCHIVED';
|
||||
|
||||
COMMIT;
|
||||
9
packages/db/migrations/0188.undo.add_archived_status_to_user.sql
Executable file
9
packages/db/migrations/0188.undo.add_archived_status_to_user.sql
Executable file
@ -0,0 +1,9 @@
|
||||
-- Type: UNDO
|
||||
-- Name: add_archived_status_to_user
|
||||
-- Description: Add ARCHIVED status to the user table
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TYPE user_status_type DROP VALUE IF EXISTS 'ARCHIVED';
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user