diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-10-14 13:09:24 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-10-14 20:56:04 +0200 |
| commit | ee0abac169c2dcc6818d583247903c2a8ef55f7c (patch) | |
| tree | 4c9486072a021b465a9c10039e395fc6c3de2d61 /tests/postgres_tests/models.py | |
| parent | bbd55e58639c33b4c5adff5f41b78deffc915c11 (diff) | |
Refs #32096 -- Fixed ExclusionConstraint crash with JSONField key transforms in expressions.
Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd.
Diffstat (limited to 'tests/postgres_tests/models.py')
| -rw-r--r-- | tests/postgres_tests/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/postgres_tests/models.py b/tests/postgres_tests/models.py index a5bfc72fe7..56c81064f3 100644 --- a/tests/postgres_tests/models.py +++ b/tests/postgres_tests/models.py @@ -191,3 +191,4 @@ class HotelReservation(PostgreSQLModel): start = models.DateTimeField() end = models.DateTimeField() cancelled = models.BooleanField(default=False) + requirements = models.JSONField(blank=True, null=True) |
