Skip to content

Commit

Permalink
feat: address new max length for iso639
Browse files Browse the repository at this point in the history
  • Loading branch information
Naramsim committed Feb 23, 2020
1 parent 3ee375d commit c7e10bd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions pokemon_v2/migrations/0004_iso639length_20191217.py
Original file line number Diff line number Diff line change
@@ -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,
),

]
2 changes: 1 addition & 1 deletion pokemon_v2/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c7e10bd

Please sign in to comment.