From ba1e0c904f810193f25d4f88cc2bb168f1d625fe Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 27 Oct 2025 03:00:27 +0900 Subject: feat(backend): Make feeds.user_id column non-null --- backend/db/queries/feeds.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend/db/queries/feeds.sql') 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 -- cgit v1.2.3-70-g09d2