mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 13:57:54 +00:00
feat: delete command messages with pk;msg -delete
This commit is contained in:
parent
fa66fbe247
commit
0517c76abf
6 changed files with 48 additions and 11 deletions
8
PluralKit.Core/Database/Migrations/17.sql
Normal file
8
PluralKit.Core/Database/Migrations/17.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
-- schema version 17: 2021-09-26 --
|
||||
-- add channel_id to command message table
|
||||
|
||||
alter table command_messages add column channel_id bigint;
|
||||
update command_messages set channel_id = 0;
|
||||
alter table command_messages alter column channel_id set not null;
|
||||
|
||||
update info set schema_version = 17;
|
||||
Loading…
Add table
Add a link
Reference in a new issue