mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-03 09:40:16 +00:00
e65c45f152
* Adding temporary bans. Fixes #1423 * Adding ban_expires to person * Fix clippy * Removing ban_expires from federated fields. * Trying to add expires to blockcommunity apub.
9 lines
315 B
SQL
9 lines
315 B
SQL
-- Add ban_expires to person, community_person_ban
|
|
alter table person add column ban_expires timestamp;
|
|
alter table community_person_ban add column expires timestamp;
|
|
|
|
drop view person_alias_1, person_alias_2;
|
|
create view person_alias_1 as select * from person;
|
|
create view person_alias_2 as select * from person;
|
|
|