Add boardgames as scrobblable

This commit is contained in:
2023-04-17 18:29:39 -04:00
parent 4654902adc
commit 0217c96faf
15 changed files with 517 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# Generated by Django 4.1.7 on 2023-04-17 22:01
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
("scrobbles", "0037_scrobble_media_type"),
]
operations = [
migrations.AlterField(
model_name="objectwithgenres",
name="tag",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="%(app_label)s_%(class)s_items",
to="scrobbles.genre",
),
),
]

View File

@ -0,0 +1,25 @@
# Generated by Django 4.1.7 on 2023-04-17 22:11
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
("boardgames", "0001_initial"),
("scrobbles", "0038_alter_objectwithgenres_tag"),
]
operations = [
migrations.AddField(
model_name="scrobble",
name="board_game",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.DO_NOTHING,
to="boardgames.boardgame",
),
),
]