mirror of
https://github.com/django/django.git
synced 2025-02-21 23:05:09 +00:00
Fixed GenericRelationTests.test_annotate when primary key values are large.
On CockroachDB, primary key values stored in this fields are larger than they accept.
This commit is contained in:
parent
be27da9d6e
commit
16adf4d6b1
@ -123,7 +123,7 @@ class Tag(models.Model):
|
||||
|
||||
|
||||
class Board(models.Model):
|
||||
name = models.CharField(primary_key=True, max_length=15)
|
||||
name = models.CharField(primary_key=True, max_length=25)
|
||||
|
||||
|
||||
class SpecialGenericRelation(GenericRelation):
|
||||
|
Loading…
x
Reference in New Issue
Block a user