mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 08:10:10 +00:00
feat: add more options for when to make proxied messages silent
This commit is contained in:
parent
952bb02285
commit
546a287c28
9 changed files with 71 additions and 14 deletions
11
crates/migrate/data/migrations/54.sql
Normal file
11
crates/migrate/data/migrations/54.sql
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
-- database version 54
|
||||
-- change suppress notifications server config to an enum
|
||||
|
||||
alter table servers
|
||||
alter column suppress_notifications drop default,
|
||||
alter column suppress_notifications type int
|
||||
using case when suppress_notifications then 1 else 0 end,
|
||||
alter column suppress_notifications set default 0,
|
||||
add constraint suppress_notifications_check check (suppress_notifications = ANY (ARRAY[0,1,2,3]));
|
||||
|
||||
update info set schema_version = 54;
|
||||
Loading…
Add table
Add a link
Reference in a new issue