feat: backend for warnings, partial frontend for reports
This commit is contained in:
parent
29274287a2
commit
a0bc39bcba
12 changed files with 479 additions and 79 deletions
|
@ -17,3 +17,11 @@ create table reports (
|
|||
admin_id text null references users (id) on delete set null,
|
||||
admin_comment text
|
||||
);
|
||||
|
||||
create table warnings (
|
||||
id serial primary key,
|
||||
user_id text not null references users (id) on delete cascade,
|
||||
reason text not null,
|
||||
created_at timestamptz not null default now(),
|
||||
read_at timestamptz
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue