Adds feed type to Feed struct and table schema
This commit is contained in:
parent
efff6edf0e
commit
4f86ab9cb0
2 changed files with 19 additions and 4 deletions
7
internal/database/migrations/4_add-type-to-feed.sql
Normal file
7
internal/database/migrations/4_add-type-to-feed.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- +migrate Up
|
||||
ALTER TABLE feed
|
||||
ADD COLUMN type text;
|
||||
|
||||
-- +migrate Down
|
||||
ALTER TABLE feed
|
||||
DROP COLUMN type;
|
||||
Loading…
Add table
Add a link
Reference in a new issue