Newsbot.Collector/Newsbot.Collector.Database/Migrations/20230411071020_article_code_columns.sql

16 lines
345 B
SQL

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