Skip to content

Commit 4a3c864

Browse files
committed
Merge branch 'jt/revert-revert-36091-jt/lookup-table-smart-sync' into jt/lookup-fixture-bug-fix
2 parents 479a0d4 + c0dcedd commit 4a3c864

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

corehq/blobs/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ class Meta:
6767
unique_together = [
6868
# HACK work around unique=True implies db_index=True
6969
# https://code.djangoproject.com/ticket/24082
70-
# Avoid extra varchar_pattern_ops index
70+
# Avoid extra varchar_pattern_ops index while still maintaining
71+
# an index for exact matches. We don't need varchar_pattern_ops
7172
# since we do not do LIKE queries on these
7273
# https://stackoverflow.com/a/50926644/10840
7374
("key",),

0 commit comments

Comments
 (0)