From af293da9f5e4eb2082894aa2eddbe20c8c39794c Mon Sep 17 00:00:00 2001 From: Jordan Wright Date: Thu, 27 Dec 2018 13:26:13 -0600 Subject: [PATCH] Adding a Missed SQL Migration (#1330) * Missed one migration when adding quotes to table names. Related to #1325 --- .../migrations/20160605210903_0.2_campaign_scheduling.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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