mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 01:01:56 +00:00
migrations/sqlite3: fix sqlite3 alter syntax
This commit is contained in:
parent
de51eb29e4
commit
786757a686
|
@ -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`;
|
||||
|
|
Loading…
Reference in New Issue
Block a user