2025-02-04 14:29:17 -08:00
|
|
|
CREATE TABLE feed_entries (
|
|
|
|
id TEXT PRIMARY KEY,
|
|
|
|
feed_id TEXT NOT NULL,
|
2025-02-04 22:21:40 -08:00
|
|
|
entry_id TEXT NOT NULL,
|
2025-02-04 14:29:17 -08:00
|
|
|
title TEXT NOT NULL,
|
|
|
|
published TIMESTAMP,
|
|
|
|
updated TIMESTAMP,
|
|
|
|
summary TEXT NOT NULL,
|
|
|
|
content TEXT,
|
|
|
|
link TEXT,
|
|
|
|
created_at TIMESTAMP NOT NULL,
|
|
|
|
FOREIGN KEY (feed_id) REFERENCES feeds(feed_id) ON DELETE CASCADE,
|
|
|
|
UNIQUE(feed_id, id)
|
2025-02-04 22:21:40 -08:00
|
|
|
);
|