From 7d33e6afdbe4c2dfcdfb633f27019cc913626417 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sat, 10 Aug 2024 22:35:37 -0400 Subject: [PATCH] [scrobbles] Fix migrations --- .../scrobbles/migrations/0057_alter_scrobble_log.py | 4 ++-- .../migrations/0058_merge_20240810_2234.py | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 vrobbler/apps/scrobbles/migrations/0058_merge_20240810_2234.py diff --git a/vrobbler/apps/scrobbles/migrations/0057_alter_scrobble_log.py b/vrobbler/apps/scrobbles/migrations/0057_alter_scrobble_log.py index 7cef4f0..d5ce1f9 100644 --- a/vrobbler/apps/scrobbles/migrations/0057_alter_scrobble_log.py +++ b/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, ), ), diff --git a/vrobbler/apps/scrobbles/migrations/0058_merge_20240810_2234.py b/vrobbler/apps/scrobbles/migrations/0058_merge_20240810_2234.py new file mode 100644 index 0000000..9357f87 --- /dev/null +++ b/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 = []