diff --git a/Newsbot.Collector.Database/Migrations/20230411071020_article_code_columns.sql b/Newsbot.Collector.Database/Migrations/20230411071020_article_code_columns.sql new file mode 100644 index 0000000..1fbe3cf --- /dev/null +++ b/Newsbot.Collector.Database/Migrations/20230411071020_article_code_columns.sql @@ -0,0 +1,15 @@ +-- +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