crawler: Fix constraint name for word
This commit is contained in:
parent
c284fba339
commit
dce03ff349
@ -465,7 +465,7 @@ class Crawler(object):
|
|||||||
(word, score, count)
|
(word, score, count)
|
||||||
VALUES
|
VALUES
|
||||||
%(insert_template)s
|
%(insert_template)s
|
||||||
ON CONFLICT ON CONSTRAINT word_pkey DO NOTHING
|
ON CONFLICT ON CONSTRAINT ix_word_word DO NOTHING
|
||||||
''' % {
|
''' % {
|
||||||
'insert_template': ', '.join([
|
'insert_template': ', '.join([
|
||||||
'(%s, 0, 0)' for x
|
'(%s, 0, 0)' for x
|
||||||
|
Reference in New Issue
Block a user