Skip to content

Commit

Permalink
Fix myisam issue with indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
henadzit committed Jan 13, 2025
1 parent 6ce5711 commit d4f7c11
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testmodels.py
Original file line number Diff line number Diff line change
Expand Up @@ -1055,10 +1055,10 @@ class BenchmarkManyFields(Model):

class ModelWithIndexes(Model):
id = fields.IntField(primary_key=True)
indexed = fields.CharField(max_length=255, index=True)
unique_indexed = fields.CharField(max_length=255, unique=True)
f1 = fields.CharField(max_length=255)
f2 = fields.CharField(max_length=255)
indexed = fields.CharField(max_length=16, index=True)
unique_indexed = fields.CharField(max_length=16, unique=True)
f1 = fields.CharField(max_length=16)
f2 = fields.CharField(max_length=16)
u1 = fields.IntField()
u2 = fields.IntField()

Expand Down

0 comments on commit d4f7c11

Please sign in to comment.