mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add archived status to user account
This commit is contained in:
parent
e1b809f7d7
commit
b22af65f93
3 changed files with 19 additions and 0 deletions
|
|
@ -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;
|
||||
Loading…
Reference in a new issue