Quellcode durchsuchen

[scrobbles] Fix migrations

Colin Powell vor 9 Monaten
Ursprung
Commit
7d33e6afdb

+ 2 - 2
vrobbler/apps/scrobbles/migrations/0057_alter_scrobble_log.py

@@ -16,8 +16,8 @@ class Migration(migrations.Migration):
             name="log",
             field=models.JSONField(
                 blank=True,
-                decoder=scrobbles.dataclasses.ScrobbleMetadataDecoder,
-                encoder=scrobbles.dataclasses.ScrobbleMetadataEncoder,
+                decoder=scrobbles.dataclasses.ScrobbleLogDataDecoder,
+                encoder=scrobbles.dataclasses.ScrobbleLogDataEncoder,
                 null=True,
             ),
         ),

+ 13 - 0
vrobbler/apps/scrobbles/migrations/0058_merge_20240810_2234.py

@@ -0,0 +1,13 @@
+# Generated by Django 4.2.13 on 2024-08-11 02:34
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ("scrobbles", "0057_alter_scrobble_log"),
+        ("scrobbles", "0057_scrobble_mood_alter_scrobble_log_and_more"),
+    ]
+
+    operations = []