add: user account warnings
This commit is contained in:
parent
535a854a47
commit
5995aaf31c
16 changed files with 459 additions and 1 deletions
|
@ -9,3 +9,4 @@ pub const CREATE_TABLE_USERBLOCKS: &str = include_str!("./sql/create_userblocks.
|
|||
pub const CREATE_TABLE_IPBANS: &str = include_str!("./sql/create_ipbans.sql");
|
||||
pub const CREATE_TABLE_AUDIT_LOG: &str = include_str!("./sql/create_audit_log.sql");
|
||||
pub const CREATE_TABLE_REPORTS: &str = include_str!("./sql/create_reports.sql");
|
||||
pub const CREATE_TABLE_USER_WARNINGS: &str = include_str!("./sql/create_user_warnings.sql");
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
CREATE TABLE IF NOT EXISTS user_warnings (
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
created BIGINT NOT NULL,
|
||||
receiver BIGINT NOT NULL,
|
||||
moderator BIGINT NOT NULL,
|
||||
content TEXT NOT NULL
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue