mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-04-28 21:54:43 +00:00
8 lines
432 B
SQL
8 lines
432 B
SQL
-- Add the bot_account column to the person table
|
|
drop view aliases::person_1, aliases::person_2;
|
|
alter table person add column bot_account boolean not null default false;
|
|
create view aliases::person_1 as select * from person;
|
|
create view aliases::person_2 as select * from person;
|
|
|
|
-- Add the show_bot_accounts to the local user table as a setting
|
|
alter table local_user add column show_bot_accounts boolean not null default true;
|