-- +goose Up
CREATE TABLE feeds (
	id INTEGER PRIMARY KEY AUTOINCREMENT,
	created_at DATE NOT NULL,
	updated_at DATE NOT NULL,
	name TEXT NOT NULL,
	url TEXT NOT NULL,
	user_id INTEGER NOT NULL REFERENCES users(id) ON DELETE CASCADE
);

-- +goose Down
DROP TABLE feeds;
