Newsbot.Collector/Newsbot.Collector.Database/Migrations/20230413203006_subscription_code_options.sql
James Tombleson 84b4137bdd
Features/codeproject/subscription options (#28)
* Updated migrations to add new columns to subscriptions

* repos updated with new columns

* dto updated with new columns

* subscription model was updated

* DiscordNotificationJob.cs was updated to reflect subscription options

* updated seed for codeproject subscriptions
2023-04-13 22:13:06 -07:00

14 lines
324 B
SQL

-- +goose Up
-- +goose StatementBegin
ALTER TABLE subscriptions
ADD COLUMN CodeAllowReleases bool,
ADD COLUMN CodeAllowCommits bool;
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
ALTER TABLE subscriptions
DROP COLUMN CodeAllowReleases,
DROP COLUMN CodeAllowCommits;
-- +goose StatementEnd