Quellcode durchsuchen

Update max length for region

Colin Powell vor 3 Jahren
Ursprung
Commit
fd02fce1d0

+ 1 - 1
games/migrations/0005_game_region_game_undub.py

@@ -22,7 +22,7 @@ class Migration(migrations.Migration):
                     ("X", "Unknown"),
                 ],
                 default=games.models.Game.Region["X"],
-                max_length=2,
+                max_length=10,
             ),
         ),
         migrations.AddField(

+ 1 - 1
games/migrations/0006_alter_game_region.py

@@ -20,7 +20,7 @@ class Migration(migrations.Migration):
                     ("EU", "Europe"),
                     ("JP", "Japan"),
                 ],
-                max_length=2,
+                max_length=10,
                 null=True,
             ),
         ),