mirror of https://github.com/gophish/gophish
10 lines
280 B
MySQL
10 lines
280 B
MySQL
|
|
||
|
-- +goose Up
|
||
|
-- SQL in section 'Up' is executed when this migration is applied
|
||
|
ALTER TABLE "campaigns" ADD COLUMN "launch_date" DATETIME;
|
||
|
|
||
|
UPDATE "campaigns" SET "launch_date" = "created_date";
|
||
|
-- +goose Down
|
||
|
-- SQL section 'Down' is executed when this migration is rolled back
|
||
|
|