We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6b1fb3 commit 79a0e76Copy full SHA for 79a0e76
1 file changed
ApplicationData/Services/LinkProvider.cs
@@ -167,8 +167,8 @@ SELECT 1 FROM links
167
await using var tx = await connection.CreateTransaction(IsolationLevel.Serializable, CancellationToken.None);
168
169
await tx.Execute("""
170
- INSERT INTO reddit_posts (reddit_post_id, post_title)
171
- VALUES (@redditPostId, @postTitle)
+ INSERT INTO reddit_posts (reddit_post_id, post_title, is_title_fetched)
+ VALUES (@redditPostId, @postTitle, 1)
172
ON CONFLICT DO NOTHING
173
""", new { redditPostId = link.RedditPostId, postTitle = link.RedditPostTitle });
174
0 commit comments