diff options
Diffstat (limited to 'src/schema.sql')
| -rw-r--r-- | src/schema.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/schema.sql b/src/schema.sql index a4ea0e8..40cab51 100644 --- a/src/schema.sql +++ b/src/schema.sql @@ -92,7 +92,7 @@ CREATE UNIQUE INDEX uni_entities_value ON entities(MD5(value), type); CREATE INDEX idx_entities_retryinsert ON bad_lines(id) WHERE - type = 'uninsertable_line' AND detail IS NULL; + type = 'uninsertable_line' AND detail ->> 'retriedAt' IS NULL; CREATE OR REPLACE FUNCTION entity(newValue text, newType entity) RETURNS TABLE( |
