Home
/
rss-reader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
200808f
)
unique constraint on feed/account
author
xangelo
<git@xangelo.ca>
Wed, 13 Apr 2022 18:25:00 +0000
(14:25 -0400)
committer
xangelo
<git@xangelo.ca>
Wed, 13 Apr 2022 18:25:00 +0000
(14:25 -0400)
sql/seed.ts
patch
|
blob
|
history
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();
+
}
/*