We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 479a0d4 + c0dcedd commit 4a3c864Copy full SHA for 4a3c864
corehq/blobs/models.py
@@ -67,7 +67,8 @@ class Meta:
67
unique_together = [
68
# HACK work around unique=True implies db_index=True
69
# https://code.djangoproject.com/ticket/24082
70
- # Avoid extra varchar_pattern_ops index
+ # Avoid extra varchar_pattern_ops index while still maintaining
71
+ # an index for exact matches. We don't need varchar_pattern_ops
72
# since we do not do LIKE queries on these
73
# https://stackoverflow.com/a/50926644/10840
74
("key",),
0 commit comments