Change DB structure for donations: int -> varchar, blob -> mediumblob

This commit is contained in:
wiz 2020-10-17 11:32:42 +09:00
parent 15fdb69b96
commit c22d6e741a
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -103,5 +103,5 @@ ALTER TABLE `donations`
ALTER TABLE `donations` ADD UNIQUE(`order_id`); ALTER TABLE `donations` ADD UNIQUE(`order_id`);
ALTER TABLE `donations` ADD `image` BLOB NULL AFTER `imageUrl`; ALTER TABLE `donations` ADD `image` MEDIUMBLOB NULL AFTER `imageUrl`;
ALTER TABLE `donations` ADD `twitter_id` INT NULL AFTER `handle`; ALTER TABLE `donations` ADD `twitter_id` VARCHAR(250) NULL AFTER `handle`;