fix: fix ui reports

This commit is contained in:
Krispire Admin
2026-06-16 19:03:06 +05:30
parent 1cde0c0544
commit a63ef672bb
6 changed files with 36 additions and 12 deletions
@@ -0,0 +1,3 @@
ALTER TABLE post_reports DROP COLUMN IF EXISTS resolution_note;
ALTER TABLE comment_reports DROP COLUMN IF EXISTS resolution_note;
ALTER TABLE user_reports DROP COLUMN IF EXISTS resolution_note;
@@ -0,0 +1,5 @@
-- A resolution note captured when an admin resolves a report (shown in the
-- admin reports table). Additive nullable column on each report table.
ALTER TABLE post_reports ADD COLUMN IF NOT EXISTS resolution_note TEXT;
ALTER TABLE comment_reports ADD COLUMN IF NOT EXISTS resolution_note TEXT;
ALTER TABLE user_reports ADD COLUMN IF NOT EXISTS resolution_note TEXT;