mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
12 lines
400 B
MySQL
12 lines
400 B
MySQL
|
|
-- schema version 26
|
||
|
|
-- cache Discord DM channels in the database
|
||
|
|
|
||
|
|
alter table accounts alter column system drop not null;
|
||
|
|
alter table accounts drop constraint accounts_system_fkey;
|
||
|
|
alter table accounts
|
||
|
|
add constraint accounts_system_fkey
|
||
|
|
foreign key (system) references systems(id) on delete set null;
|
||
|
|
|
||
|
|
alter table accounts add column dm_channel bigint;
|
||
|
|
|
||
|
|
update info set schema_version = 26;
|