renamed Answer table

This commit is contained in:
2024-05-24 20:51:03 +02:00
parent e79407bfaa
commit 56435e39d6

View File

@@ -22,7 +22,8 @@ CREATE TABLE Posts
deleted timestamp WITH TIME ZONE default NULL deleted timestamp WITH TIME ZONE default NULL
); );
CREATE TABLE Answers ( CREATE TABLE Comments
(
id bigserial PRIMARY KEY, id bigserial PRIMARY KEY,
parent bigserial REFERENCES Posts NOT NULL, parent bigserial REFERENCES Posts NOT NULL,
child bigserial REFERENCES Posts NOT NULL, child bigserial REFERENCES Posts NOT NULL,