Skip to content

Commit

Permalink
Merge pull request #91 from Eagllus/master
Browse files Browse the repository at this point in the history
Fix max_length can not exceed 255 for InnoDB/utf8 database
  • Loading branch information
gotlium authored May 1, 2017
2 parents 0a6806f + f90e4ab commit e50a750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbmail/migrations/0011_auto_20160803_1024.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='mailsubscription',
name='address',
field=models.CharField(help_text='Must be phone number/email/token', max_length=350, verbose_name='Address', db_index=True),
field=models.CharField(help_text='Must be phone number/email/token', max_length=255, verbose_name='Address', db_index=True),
),
migrations.AlterField(
model_name='mailsubscription',
name='title',
field=models.CharField(max_length=350, null=True, blank=True),
field=models.CharField(max_length=255, null=True, blank=True),
),
]

0 comments on commit e50a750

Please sign in to comment.