feat: address new max length for iso639

This commit is contained in:
Alessandro Pezzè 2019-12-17 17:27:01 +01:00
parent 3ee375d490
commit c7e10bd044
2 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,18 @@
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('pokemon_v2', '0003_auto_20160530_1132'),
]
operations = [
migrations.AlterField(
model_name='language',
name='iso639',
field=models.CharField(max_length=10),
preserve_default=True,
),
]

View file

@ -499,7 +499,7 @@ class VersionGroupMoveLearnMethod(HasVersionGroup, HasMoveLearnMethod):
class Language(HasName, HasOrder):
iso639 = models.CharField(max_length=2)
iso639 = models.CharField(max_length=10)
iso3166 = models.CharField(max_length=2)