mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-23 15:25:14 +00:00
27 lines
479 B
SQL
27 lines
479 B
SQL
-- +up
|
|
-- +begin
|
|
ALTER TABLE profits MODIFY COLUMN symbol VARCHAR(32) NOT NULL;
|
|
-- +end
|
|
|
|
-- +begin
|
|
ALTER TABLE profits MODIFY COLUMN base_currency VARCHAR(16) NOT NULL;
|
|
-- +end
|
|
|
|
-- +begin
|
|
ALTER TABLE profits MODIFY COLUMN fee_currency VARCHAR(16) NOT NULL;
|
|
-- +end
|
|
|
|
-- +begin
|
|
ALTER TABLE positions MODIFY COLUMN base_currency VARCHAR(16) NOT NULL;
|
|
-- +end
|
|
|
|
-- +begin
|
|
ALTER TABLE positions MODIFY COLUMN symbol VARCHAR(32) NOT NULL;
|
|
-- +end
|
|
|
|
-- +down
|
|
|
|
-- +begin
|
|
SELECT 1;
|
|
-- +end
|