Browse Source

Adding a Missed SQL Migration (#1330)

* Missed one migration when adding quotes to table names. Related to #1325
pull/1334/head
Jordan Wright 2 years ago
committed by GitHub
parent
commit
af293da9f5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      db/db_mysql/migrations/20160605210903_0.2_campaign_scheduling.sql

+ 2
- 2
db/db_mysql/migrations/20160605210903_0.2_campaign_scheduling.sql View File

@ -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

Loading…
Cancel
Save