mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 13:51:19 +00:00
12 lines
418 B
SQL
12 lines
418 B
SQL
ALTER TABLE federation_blocklist
|
|
ADD COLUMN block_expires timestamptz;
|
|
|
|
CREATE TABLE admin_block_instance (
|
|
id serial PRIMARY KEY,
|
|
instance_id int NOT NULL REFERENCES instance (id) ON UPDATE CASCADE ON DELETE CASCADE,
|
|
admin_person_id int NOT NULL REFERENCES person (id) ON UPDATE CASCADE ON DELETE CASCADE,
|
|
reason text,
|
|
expires timestamptz,
|
|
published timestamptz NOT NULL DEFAULT now()
|
|
);
|
|
|