16 lines
345 B
MySQL
16 lines
345 B
MySQL
|
-- +goose Up
|
||
|
-- +goose StatementBegin
|
||
|
SELECT 'up SQL query';
|
||
|
ALTER TABLE articles
|
||
|
ADD COLUMN CodeIsRelease bool,
|
||
|
ADD COLUMN CodeIsCommit bool;
|
||
|
-- +goose StatementEnd
|
||
|
|
||
|
-- +goose Down
|
||
|
-- +goose StatementBegin
|
||
|
SELECT 'down SQL query';
|
||
|
Alter TABLE articles
|
||
|
DROP COLUMN CodeIsRelease,
|
||
|
DROP COLUMN CodeIsCommit
|
||
|
-- +goose StatementEnd
|