-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
234f034
commit f4f28f7
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
create table account_deletion_requests | ||
( | ||
id varchar(36) null comment 'random uuid (as it''s also used for lookup of state by user)', | ||
account_id mediumint not null, | ||
state enum ('NEW', 'IN_PROCESS', 'FINISHED', 'ERROR') default 'NEW' not null, | ||
full_delete boolean not null comment 'full_delete=true means the whole account was deleted. This requires no games to be played.', | ||
processed_by mediumint null comment 'Refers to the admin manually processing. Should be null if automatically processed', | ||
comment text null comment 'Allows manual comments for manual processing', | ||
created_at timestamp null, | ||
updated_at timestamp null, | ||
constraint account_deletion_requests_pk | ||
primary key (id), | ||
constraint account_deletion_requests_account_unique_key | ||
unique (account_id) | ||
); |