James Tombleson
117653c001
* Migration added to update Articles to define if Release or Commit * CodeProjectWatcher Job was created from GithubWatcher as this will target services like gitlab and also gitea. * article model was updated to reflect migration changes * Added CodeProjects to startup * Seed was updated with CodeProjects and some new defaults * Added Delete call for Sources * Added a route to cleanup all records based on SourceId * Added CodeProject const values to load from config * minor changes to the rss controller * Added codeprojects to the routes to trigger the job
22 lines
441 B
SQL
22 lines
441 B
SQL
-- +goose Up
|
|
-- +goose StatementBegin
|
|
SELECT 'up SQL query';
|
|
ALTER TABLE sources
|
|
ADD COLUMN IconUri uuid;
|
|
|
|
ALTER TABLE articles
|
|
ADD COLUMN CodeIsRelease bool,
|
|
ADD COLUMN CodeIsCommit bool;
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
SELECT 'down SQL query';
|
|
ALTER TABLE sources
|
|
DROP COLUMN IconUri;
|
|
|
|
Alter TABLE articles
|
|
DROP COLUMN CodeIsRelease,
|
|
DROP COLUMN CodeIsCommit
|
|
-- +goose StatementEnd
|