mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 13:57:54 +00:00
resolve conflicts with main
This commit is contained in:
parent
1506a84eae
commit
49592de2b8
2 changed files with 1 additions and 1 deletions
12
PluralKit.Core/Database/Migrations/46.sql
Normal file
12
PluralKit.Core/Database/Migrations/46.sql
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
-- database version 45
|
||||
-- adds banner privacy
|
||||
|
||||
alter table members add column banner_privacy int not null default 1 check (banner_privacy = ANY (ARRAY[1,2]));
|
||||
alter table groups add column banner_privacy int not null default 1 check (banner_privacy = ANY (ARRAY[1,2]));
|
||||
alter table systems add column banner_privacy int not null default 1 check (banner_privacy = ANY (ARRAY[1,2]));
|
||||
|
||||
update members set banner_privacy = 2 where description_privacy = 2;
|
||||
update groups set banner_privacy = 2 where description_privacy = 2;
|
||||
update systems set banner_privacy = 2 where description_privacy = 2;
|
||||
|
||||
update info set schema_version = 45;
|
||||
Loading…
Add table
Add a link
Reference in a new issue