Tento commit je obsažen v:
sneedmaster 2023-12-18 21:22:29 +01:00
rodič 599c6ed804
revize 842efae4fc

Zobrazit soubor

@ -2,6 +2,6 @@ CREATE TABLE news (
id SERIAL NOT NULL PRIMARY KEY, id SERIAL NOT NULL PRIMARY KEY,
title VARCHAR(256) NOT NULL, title VARCHAR(256) NOT NULL,
content TEXT NOT NULL, content TEXT NOT NULL,
author VARCHAR(32) NOT NULL REFERENCES users(username), author VARCHAR(32) NOT NULL REFERENCES accounts(username),
created TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP created TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP
); );