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):
|
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):
|
class SpecialGenericRelation(GenericRelation):
|
||||||
|
|
Loading…
Reference in New Issue