aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/db/queries
diff options
context:
space:
mode:
Diffstat (limited to 'backend/db/queries')
-rw-r--r--backend/db/queries/feeds.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/db/queries/feeds.sql b/backend/db/queries/feeds.sql
index 3b5b882..9725252 100644
--- a/backend/db/queries/feeds.sql
+++ b/backend/db/queries/feeds.sql
@@ -10,8 +10,8 @@ WHERE is_subscribed = 1
ORDER BY id;
-- name: CreateFeed :one
-INSERT INTO feeds (url, title, fetched_at)
-VALUES (?, ?, ?)
+INSERT INTO feeds (url, title, fetched_at, user_id)
+VALUES (?, ?, ?, ?)
RETURNING *;
-- name: UpdateFeedMetadata :exec