#12 - update feeds

This commit is contained in:
2025-03-11 15:25:52 +02:00
parent a76915c7fc
commit f561eb4c34
10 changed files with 131 additions and 22 deletions

View File

@@ -22,7 +22,7 @@ VALUES (
$5,
$6
)
RETURNING id, created_at, updated_at, name, url, user_id
RETURNING id, created_at, updated_at, name, url, user_id, last_fetched_at
`
type CreateFeedParams struct {
@@ -51,6 +51,7 @@ func (q *Queries) CreateFeed(ctx context.Context, arg CreateFeedParams) (Feed, e
&i.Name,
&i.Url,
&i.UserID,
&i.LastFetchedAt,
)
return i, err
}