Home
/
rss-reader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unique constraint on feed/account
[rss-reader.git]
/
sql
/
seed.ts
diff --git
a/sql/seed.ts
b/sql/seed.ts
index bf0118c53df3f699f01a0820a8e3b6743f9c6342..185f8da63c1add540faef9c844f3c6368fafb2ff 100644
(file)
--- a/
sql/seed.ts
+++ b/
sql/seed.ts
@@
-33,7
+33,6
@@
writer.prepare(`
)
`).run();
-writer.prepare(`create index idx_account_feed on feedlist (account_id, link)`).run();
writer.prepare(`
@@
-49,6
+48,8
@@
writer.prepare(`
)
`).run();
+writer.prepare(`create unique index idx_account_feed on feedlist (account_id, link)`).run();
+
}
/*