add the migration sql

This commit is contained in:
c9s 2022-04-20 12:17:26 +08:00
parent 46015324e9
commit 82bdfa7db8
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,21 @@
-- +up
-- +begin
ALTER TABLE trades
CHANGE fee fee DECIMAL(16, 8) NOT NULL;
-- +end
-- +begin
ALTER TABLE profits
CHANGE fee fee DECIMAL(16, 8) NOT NULL;
-- +end
-- +begin
ALTER TABLE profits
CHANGE fee_in_usd fee_in_usd DECIMAL(16, 8);
-- +end
-- +down
-- +begin
SELECT 1;
-- +end

View File

@ -0,0 +1,10 @@
-- +up
-- +begin
SELECT 1;
-- +end
-- +down
-- +begin
SELECT 1;
-- +end