feat: delete command messages with pk;msg -delete

This commit is contained in:
spiral 2021-09-26 22:49:43 -04:00
parent fa66fbe247
commit 0517c76abf
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
6 changed files with 48 additions and 11 deletions

View 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;