diff options
| author | ilotterytea <iltsu@alright.party> | 2025-05-02 18:35:09 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-05-02 18:35:09 +0500 |
| commit | 0c25e3dd54225b126ad8e48e10f4fbde8ce26ec5 (patch) | |
| tree | db7fc3d7c73f96a236eafd12c4255b1835ab3cdd /database.sql | |
| parent | 9c7e8c24f8273f70d743ae44034a01da352a88e9 (diff) | |
feat: emote approval
Diffstat (limited to 'database.sql')
| -rw-r--r-- | database.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/database.sql b/database.sql index 1340d36..3f97ea3 100644 --- a/database.sql +++ b/database.sql @@ -105,4 +105,13 @@ CREATE TABLE IF NOT EXISTS role_assigns( id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT, user_id INTEGER NOT NULL UNIQUE REFERENCES users(id), role_id INTEGER NOT NULL REFERENCES roles(id) +); + +CREATE TABLE IF NOT EXISTS mod_actions( + id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT, + user_id INTEGER NOT NULL REFERENCES users(id), + emote_id INTEGER NOT NULL REFERENCES emotes(id), + verdict INTEGER NOT NULL, + comment TEXT, + created_at TIMESTAMP NOT NULL DEFAULT UTC_TIMESTAMP );
\ No newline at end of file |
