Skip to content

Commit 9bbe741

Browse files
Update tests/encryption_/models.py
Co-authored-by: Tim Graham <[email protected]>
1 parent 9fd21e4 commit 9bbe741

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/encryption_/models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@ class Person(EncryptedModel):
99
ssn = EncryptedCharField("ssn", max_length=11, queries=["equality"])
1010
ssn2 = EncryptedCharField("ssn", max_length=11, queries=["equality"])
1111

12+
+ class Meta:
13+
+ required_db_features = {"supports_queryable_encryption"}
14+
+
1215
def __str__(self):
1316
return self.name

0 commit comments

Comments
 (0)