freed/internal/database/migrations/1_feed.sql
2024-08-31 01:41:44 +02:00

10 lines
170 B
SQL

-- +migrate Up
CREATE table feed (
id INTEGER PRIMARY KEY,
name text NOT NULL,
url text NOT NULL UNIQUE,
type text NOT NULL
);
-- +migrate Down
DROP TABLE feed;