mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-15 08:54:01 +00:00
8 lines
289 B
MySQL
8 lines
289 B
MySQL
|
CREATE TABLE post_hide (
|
||
|
post_id int REFERENCES post ON UPDATE CASCADE ON DELETE CASCADE NOT NULL,
|
||
|
person_id int REFERENCES person ON UPDATE CASCADE ON DELETE CASCADE NOT NULL,
|
||
|
published timestamp with time zone NOT NULL DEFAULT now(),
|
||
|
PRIMARY KEY (person_id, post_id)
|
||
|
);
|
||
|
|