mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 07:17:56 +00:00
Add autoproxy management commands
This commit is contained in:
parent
ca37c7e6ca
commit
57bc576de6
6 changed files with 155 additions and 8 deletions
|
|
@ -6,8 +6,10 @@
|
|||
alter table system_guild add column autoproxy_mode int check (autoproxy_mode in (1, 2, 3, 4)) not null default 1;
|
||||
|
||||
-- for member mode
|
||||
alter table system_guild add column autoproxy_member nullable references members (id) on delete set null;
|
||||
alter table system_guild add column autoproxy_member int references members (id) on delete set null;
|
||||
|
||||
-- for latch mode
|
||||
-- not *really* nullable, null just means old (pre-schema-change) data.
|
||||
alter table messages add column guild bigint nullable default null;
|
||||
alter table messages add column guild bigint default null;
|
||||
|
||||
update info set schema_version = 3;
|
||||
Loading…
Add table
Add a link
Reference in a new issue