Removes unused migrations

This commit is contained in:
Dennis Schoepf 2024-08-31 01:41:44 +02:00
parent e6fae146a5
commit 051e84de86
5 changed files with 1 additions and 23 deletions

View file

@ -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

View file

@ -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;

View file

@ -1,7 +0,0 @@
-- +migrate Up
ALTER TABLE feed
ADD COLUMN type text;
-- +migrate Down
ALTER TABLE feed
DROP COLUMN type;