Skip to content

Commit e94d267

Browse files
committed
fix: add unique index on sources.url for ON CONFLICT support
1 parent b04f9fd commit e94d267

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CREATE UNIQUE INDEX IF NOT EXISTS sources_url_unique ON sources (url) WHERE url IS NOT NULL;

0 commit comments

Comments
 (0)