add database migration from blob to mediumblob (#4568)

This commit is contained in:
ebbit1q 2022-02-09 20:11:13 +01:00 committed by GitHub
parent 252883f67e
commit 7d0a255a49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

View file

@ -0,0 +1,5 @@
-- Servatrice db migration from version 28 to version 29
ALTER TABLE cockatrice_users MODIFY COLUMN avatar_bmp mediumblob NOT NULL;
UPDATE cockatrice_schema_version SET version=29 WHERE version=28;