fix database oopsie

This commit is contained in:
john 2025-05-18 17:43:16 +02:00
parent cefd58006a
commit bdd7209a42

View file

@ -16,7 +16,7 @@ CREATE TABLE blog.post
content text NOT NULL, content text NOT NULL,
posted_on timestamptz NOT NULL DEFAULT now(), posted_on timestamptz NOT NULL DEFAULT now(),
author_id uuid NOT NULL REFERENCES blog.author (id) on DELETE CASCADE, author_id uuid NOT NULL REFERENCES blog.author (id) on DELETE CASCADE,
is_private bool NOT NULL DEFAULT false is_public bool NOT NULL DEFAULT false
); );
CREATE TABLE blog.post_media CREATE TABLE blog.post_media