]> Untitled Git - lemmy.git/blob - migrations/2022-01-04-034553_add_hidden_column/up.sql
Add language tags for comments
[lemmy.git] / migrations / 2022-01-04-034553_add_hidden_column / up.sql
1 alter table community add column hidden boolean default false;
2
3
4 create table mod_hide_community
5 (
6     id serial primary key,
7     community_id int references community on update cascade on delete cascade not null,
8     mod_person_id int references person on update cascade on delete cascade not null,
9     when_ timestamp not null default now(),
10     reason text,
11     hidden boolean default false
12 );
13