summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/postgres_tests/models.py')
-rw-r--r--tests/postgres_tests/models.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/postgres_tests/models.py b/tests/postgres_tests/models.py
index 1563f6a35d..7c606a83a9 100644
--- a/tests/postgres_tests/models.py
+++ b/tests/postgres_tests/models.py
@@ -9,6 +9,7 @@ from .fields import (
EnumField,
HStoreField,
IntegerRangeField,
+ OffByOneField,
SearchVectorField,
)
@@ -207,3 +208,7 @@ class HotelReservation(PostgreSQLModel):
end = models.DateTimeField()
cancelled = models.BooleanField(default=False)
requirements = models.JSONField(blank=True, null=True)
+
+
+class OffByOneModel(PostgreSQLModel):
+ one_off = OffByOneField()