fix database oopsie
This commit is contained in:
parent
cefd58006a
commit
bdd7209a42
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue