migrations/sqlite3: fix sqlite3 alter syntax

This commit is contained in:
c9s 2021-02-06 09:49:05 +08:00
parent de51eb29e4
commit 786757a686

View File

@ -1,5 +1,5 @@
-- +up
ALTER TABLE `trades` ADD COLUMN `order_id` INTEGER NOT NULL DEFATUL 0;
ALTER TABLE `trades` ADD COLUMN `order_id` INTEGER;
-- +down
ALTER TABLE `trades` RENAME COLUMN `order_id` TO `order_id_deleted`;