sql improvement

This commit is contained in:
xfarrow
2024-02-18 12:03:57 +01:00
parent a6c8450ea5
commit 46229ac247
5 changed files with 11 additions and 11 deletions

View File

@ -6,7 +6,7 @@ CREATE TABLE IF NOT EXISTS public."OrganizationPost"
(
id SERIAL PRIMARY KEY,
organization_id integer NOT NULL,
content text COLLATE pg_catalog."default" NOT NULL,
content text NOT NULL,
created_at timestamp without time zone DEFAULT now(),
original_author integer NOT NULL,
CONSTRAINT "AuthorIdFK" FOREIGN KEY (original_author)