diff --git a/pokemon_v2/migrations/0004_iso639length_20191217.py b/pokemon_v2/migrations/0004_iso639length_20191217.py new file mode 100644 index 00000000..3d81baf2 --- /dev/null +++ b/pokemon_v2/migrations/0004_iso639length_20191217.py @@ -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, + ), + + ] diff --git a/pokemon_v2/models.py b/pokemon_v2/models.py index 9496b151..dc93eb49 100755 --- a/pokemon_v2/models.py +++ b/pokemon_v2/models.py @@ -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)