Removes unused migrations
This commit is contained in:
parent
e6fae146a5
commit
051e84de86
5 changed files with 1 additions and 23 deletions
|
|
@ -3,8 +3,7 @@ CREATE table feed (
|
|||
id INTEGER PRIMARY KEY,
|
||||
name text NOT NULL,
|
||||
url text NOT NULL UNIQUE,
|
||||
userId text NOT NULL,
|
||||
FOREIGN KEY (userId) REFERENCES user(id)
|
||||
type text NOT NULL
|
||||
);
|
||||
|
||||
-- +migrate Down
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
-- +migrate Up
|
||||
CREATE table user (
|
||||
id text PRIMARY KEY,
|
||||
first_name text NOT NULL,
|
||||
email text NOT NULL UNIQUE
|
||||
);
|
||||
|
||||
-- +migrate Down
|
||||
DROP TABLE user;
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
-- +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