added userid to reactions
This commit is contained in:
@@ -33,6 +33,7 @@ CREATE TABLE Comments
|
||||
CREATE TABLE Reaction
|
||||
(
|
||||
id bigserial PRIMARY KEY,
|
||||
userid bigserial REFERENCES Users NOT NULL,
|
||||
post bigserial REFERENCES Posts(id) NOT NULL,
|
||||
positive boolean DEFAULT NULL,
|
||||
deleted timestamp WITH TIME ZONE default NULL
|
||||
|
||||
Reference in New Issue
Block a user