From d5b94983b336b425c5108b84617ba1d2ff335480 Mon Sep 17 00:00:00 2001 From: Lekuru Date: Wed, 11 Dec 2024 17:57:01 +0100 Subject: [PATCH] Make `approved_at` null by default --- migrations/002_Beatmaps.up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/002_Beatmaps.up.sql b/migrations/002_Beatmaps.up.sql index ed05b2e..fa84b99 100644 --- a/migrations/002_Beatmaps.up.sql +++ b/migrations/002_Beatmaps.up.sql @@ -7,7 +7,7 @@ CREATE TABLE beatmapsets ( creator_id integer NOT NULL REFERENCES users (id), created_at timestamp without time zone NOT NULL DEFAULT now(), last_updated timestamp without time zone NOT NULL DEFAULT now(), - approved_at timestamp without time zone NOT NULL DEFAULT now(), + approved_at timestamp without time zone, approved_by integer REFERENCES users (id), status smallint NOT NULL DEFAULT 1, description text NOT NULL DEFAULT '',