diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-10-27 03:00:27 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-10-27 03:00:27 +0900 |
| commit | ba1e0c904f810193f25d4f88cc2bb168f1d625fe (patch) | |
| tree | 87171f92c37bbe822ef5e4649c74dd7e949d4378 /backend/db/queries/feeds.sql | |
| parent | c1c7fa92e31f4d89fb68133a1c64a87f762dda6e (diff) | |
| download | feedaka-ba1e0c904f810193f25d4f88cc2bb168f1d625fe.tar.gz feedaka-ba1e0c904f810193f25d4f88cc2bb168f1d625fe.tar.zst feedaka-ba1e0c904f810193f25d4f88cc2bb168f1d625fe.zip | |
Diffstat (limited to 'backend/db/queries/feeds.sql')
| -rw-r--r-- | backend/db/queries/feeds.sql | 4 |
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 |
