[scrobbles] Add gpx file for trails

This commit is contained in:
2024-09-11 13:31:48 -04:00
parent e4738e464f
commit 5d1edc71d7
2 changed files with 21 additions and 0 deletions

View File

@ -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/"
),
),
]

View File

@ -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
)