mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
BUGFIX: PSQL Migration syntax fix (#550)
* Fixes asset typo and changes postgres migration to work * Adds newline to appease
This commit is contained in:
@@ -4,4 +4,4 @@ ALTER TABLE withdrawal_history ALTER COLUMN exchange_name_id SET NOT NULL;
|
||||
|
||||
-- +goose Down
|
||||
-- SQL in this section is executed when the migration is rolled back.
|
||||
ALTER TABLE withdrawal_history ALTER COLUMN exchange_name_id SET NULL;
|
||||
ALTER TABLE withdrawal_history ALTER COLUMN exchange_name_id DROP NOT NULL;
|
||||
|
||||
@@ -4,4 +4,4 @@ ALTER TABLE candle ALTER COLUMN asset SET NOT NULL;
|
||||
|
||||
-- +goose Down
|
||||
-- SQL in this section is executed when the migration is rolled back.
|
||||
ALTER TABLE candle ALTER COLUMN aseet SET NULL;
|
||||
ALTER TABLE candle ALTER COLUMN asset DROP NOT NULL;
|
||||
|
||||
Reference in New Issue
Block a user