mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-05 04:00:02 +00:00
Nutomic
efee2062dd
* Mark account as bot. Fixes #1357 * Fix clippy * Federate bot status using actor `type` field * fix clippy Co-authored-by: Dessalines <tyhou13@gmx.com>
8 lines
420 B
SQL
8 lines
420 B
SQL
-- Add the bot_account column to the person table
|
|
drop view person_alias_1, person_alias_2;
|
|
alter table person add column bot_account boolean not null default false;
|
|
create view person_alias_1 as select * from person;
|
|
create view person_alias_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;
|