diff --git a/vrobbler/apps/scrobbles/migrations/0063_scrobble_gpx_file.py b/vrobbler/apps/scrobbles/migrations/0063_scrobble_gpx_file.py new file mode 100644 index 0000000..aca9a63 --- /dev/null +++ b/vrobbler/apps/scrobbles/migrations/0063_scrobble_gpx_file.py @@ -0,0 +1,20 @@ +# Generated by Django 4.2.16 on 2024-09-11 17:31 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("scrobbles", "0062_scrobble_trail_alter_scrobble_media_type"), + ] + + operations = [ + migrations.AddField( + model_name="scrobble", + name="gpx_file", + field=models.FileField( + blank=True, null=True, upload_to="scrobbles/gpx_file/" + ), + ), + ] diff --git a/vrobbler/apps/scrobbles/models.py b/vrobbler/apps/scrobbles/models.py index 9fd0f12..d8f52d8 100644 --- a/vrobbler/apps/scrobbles/models.py +++ b/vrobbler/apps/scrobbles/models.py @@ -548,6 +548,7 @@ class Scrobble(TimeStampedModel): videogame_save_data = models.FileField( upload_to="scrobbles/videogame_save_data/", **BNULL ) + gpx_file = models.FileField(upload_to="scrobbles/gpx_file/", **BNULL) screenshot = models.ImageField( upload_to="scrobbles/videogame_screenshot/", **BNULL )