2021-04-21 21:41:14 +00:00
|
|
|
-- Add the bot_account column to the person table
|
2023-08-02 16:44:51 +00:00
|
|
|
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;
|
2021-04-21 21:41:14 +00:00
|
|
|
|
|
|
|
-- Add the show_bot_accounts to the local user table as a setting
|
2023-08-02 16:44:51 +00:00
|
|
|
ALTER TABLE local_user
|
|
|
|
ADD COLUMN show_bot_accounts boolean NOT NULL DEFAULT TRUE;
|
|
|
|
|