Removes unused migrations
This commit is contained in:
parent
e6fae146a5
commit
051e84de86
5 changed files with 1 additions and 23 deletions
13
internal/database/migrations/2_article.sql
Normal file
13
internal/database/migrations/2_article.sql
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
-- +migrate Up
|
||||
CREATE table article (
|
||||
id INTEGER PRIMARY KEY,
|
||||
name text NOT NULL,
|
||||
url text NOT NULL UNIQUE,
|
||||
read INTEGER DEFAULT 0,
|
||||
readAt text,
|
||||
feedId INTEGER,
|
||||
FOREIGN KEY (feedId) REFERENCES feed(id)
|
||||
);
|
||||
|
||||
-- +migrate Down
|
||||
DROP TABLE article;
|
||||
Loading…
Add table
Add a link
Reference in a new issue