summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/models.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-12-03 09:30:33 +0100
committerGitHub <noreply@github.com>2020-12-03 09:30:33 +0100
commitd746f28949c009251a8741ba03d156964050717f (patch)
treed2341d5ea529ca1fccc57856e04b7a1eb115495f /tests/postgres_tests/models.py
parent48b4bae983a1f9a73624fe62ef5bd1130b0dba39 (diff)
Refs #27095 -- Fixed test_contained_by_including_F_object when run in reverse.
Tests should not rely on auto PKs. Test regression in 33403bf80f635577a18426bc99c8a65e31fd8dfa.
Diffstat (limited to 'tests/postgres_tests/models.py')
-rw-r--r--tests/postgres_tests/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/postgres_tests/models.py b/tests/postgres_tests/models.py
index 56c81064f3..c7f55a2661 100644
--- a/tests/postgres_tests/models.py
+++ b/tests/postgres_tests/models.py
@@ -46,6 +46,7 @@ class IntegerArrayModel(PostgreSQLModel):
class NullableIntegerArrayModel(PostgreSQLModel):
field = ArrayField(models.IntegerField(), blank=True, null=True)
field_nested = ArrayField(ArrayField(models.IntegerField(null=True)), null=True)
+ order = models.IntegerField(null=True)
class CharArrayModel(PostgreSQLModel):