1
0
mirror of https://github.com/django/django.git synced 2025-10-25 06:36:07 +00:00

Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField.

This commit is contained in:
Tim Graham
2025-08-19 15:08:43 -04:00
committed by Jacob Walls
parent 0ddbe12ea9
commit 2a636118da
26 changed files with 114 additions and 252 deletions

View File

@@ -45,12 +45,12 @@ class PostgreSQLModel(models.Model):
class IntegerArrayModel(PostgreSQLModel):
field = ArrayField(models.IntegerField(), default=list, blank=True)
field = ArrayField(models.BigIntegerField(), default=list, blank=True)
class NullableIntegerArrayModel(PostgreSQLModel):
field = ArrayField(models.IntegerField(), blank=True, null=True)
field_nested = ArrayField(ArrayField(models.IntegerField(null=True)), null=True)
field = ArrayField(models.BigIntegerField(), blank=True, null=True)
field_nested = ArrayField(ArrayField(models.BigIntegerField(null=True)), null=True)
order = models.IntegerField(null=True)