renamed Answer table
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user