]> Untitled Git - lemmy.git/blob - migrations/2021-03-31-105915_add_bot_account/up.sql
Fixing generate unique changeme (#2205)
[lemmy.git] / migrations / 2021-03-31-105915_add_bot_account / up.sql
1 -- Add the bot_account column to the person table
2 drop view person_alias_1, person_alias_2;
3 alter table person add column bot_account boolean not null default false;
4 create view person_alias_1 as select * from person;
5 create view person_alias_2 as select * from person;
6
7 -- Add the show_bot_accounts to the local user table as a setting
8 alter table local_user add column show_bot_accounts boolean not null default true;