[scrobbles] Add gpx file for trails
This commit is contained in:
20
vrobbler/apps/scrobbles/migrations/0063_scrobble_gpx_file.py
Normal file
20
vrobbler/apps/scrobbles/migrations/0063_scrobble_gpx_file.py
Normal 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/"
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
||||||
@ -548,6 +548,7 @@ class Scrobble(TimeStampedModel):
|
|||||||
videogame_save_data = models.FileField(
|
videogame_save_data = models.FileField(
|
||||||
upload_to="scrobbles/videogame_save_data/", **BNULL
|
upload_to="scrobbles/videogame_save_data/", **BNULL
|
||||||
)
|
)
|
||||||
|
gpx_file = models.FileField(upload_to="scrobbles/gpx_file/", **BNULL)
|
||||||
screenshot = models.ImageField(
|
screenshot = models.ImageField(
|
||||||
upload_to="scrobbles/videogame_screenshot/", **BNULL
|
upload_to="scrobbles/videogame_screenshot/", **BNULL
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user