Files
Erupe/migrations/000020_history.up.sql
2022-07-29 03:25:23 +10:00

13 lines
278 B
PL/PgSQL

BEGIN;
CREATE TABLE IF NOT EXISTS public.history
(
user_id integer,
admin_id integer,
report_id integer NOT NULL,
title text COLLATE pg_catalog."default",
reason text COLLATE pg_catalog."default",
CONSTRAINT history_pkey PRIMARY KEY (report_id)
);
END;