mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue