Forráskód Böngészése

[boardgames] Fix migration path

Colin Powell 2 hónapja
szülő
commit
cd48e7a402

+ 1 - 1
vrobbler/apps/boardgames/migrations/0008_boardgamedesigner_and_more.py

@@ -140,7 +140,7 @@ class Migration(migrations.Migration):
                         null=True,
                     ),
                 ),
-                ("bgstats_id", models.IntegerField(blank=True, null=True)),
+                ("bgstats_id", models.UUIDField(blank=True, null=True)),
                 ("description", models.TextField(blank=True, null=True)),
                 (
                     "geo_location",

+ 0 - 18
vrobbler/apps/boardgames/migrations/0010_alter_boardgamelocation_bgstats_id.py

@@ -1,18 +0,0 @@
-# Generated by Django 4.2.19 on 2025-07-03 02:25
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
-    dependencies = [
-        ("boardgames", "0009_alter_boardgame_cooperative_and_more"),
-    ]
-
-    operations = [
-        migrations.AlterField(
-            model_name="boardgamelocation",
-            name="bgstats_id",
-            field=models.UUIDField(blank=True, null=True),
-        ),
-    ]

+ 1 - 1
vrobbler/apps/boardgames/migrations/0011_boardgame_published_year.py → vrobbler/apps/boardgames/migrations/0010_boardgame_published_year.py

@@ -6,7 +6,7 @@ from django.db import migrations, models
 class Migration(migrations.Migration):
 
     dependencies = [
-        ("boardgames", "0010_alter_boardgamelocation_bgstats_id"),
+        ("boardgames", "0009_alter_boardgame_cooperative_and_more"),
     ]
 
     operations = [