Initial Commit
This commit is contained in:
0
migrations/.keep
Normal file
0
migrations/.keep
Normal file
2
migrations/2025-02-01-152019_initial/down.sql
Normal file
2
migrations/2025-02-01-152019_initial/down.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE IF EXISTS rss_feeds;
|
||||
7
migrations/2025-02-01-152019_initial/up.sql
Normal file
7
migrations/2025-02-01-152019_initial/up.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
-- Your SQL goes here
|
||||
CREATE TABLE rss_feeds (
|
||||
id INTEGER NOT NULL PRIMARY KEY,
|
||||
name TEXT NOT NULL,
|
||||
feed_url TEXT NOT NULL,
|
||||
last_pub_date TEXT DEFAULT NULL -- ISO 8601 format e.g. "2023-10-05T14:48:00+02:00"
|
||||
);
|
||||
Reference in New Issue
Block a user