diff --git a/db/db_mysql/migrations/20160605210903_0.2_campaign_scheduling.sql b/db/db_mysql/migrations/20160605210903_0.2_campaign_scheduling.sql index 47fb5a96..9e26c154 100644 --- a/db/db_mysql/migrations/20160605210903_0.2_campaign_scheduling.sql +++ b/db/db_mysql/migrations/20160605210903_0.2_campaign_scheduling.sql @@ -1,9 +1,9 @@ -- +goose Up -- SQL in section 'Up' is executed when this migration is applied -ALTER TABLE campaigns ADD COLUMN launch_date DATETIME; +ALTER TABLE `campaigns` ADD COLUMN launch_date DATETIME; -UPDATE campaigns SET launch_date = created_date; +UPDATE `campaigns` SET launch_date = created_date; -- +goose Down -- SQL section 'Down' is executed when this migration is rolled back