From 122c120eae90f38085152c3accda34017bfba6af Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 13 Feb 2024 16:33:40 +0100 Subject: [PATCH] fix: add missing migration --- pretalx_musicrate/__init__.py | 2 +- pretalx_musicrate/migrations/0008_assignee.py | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 pretalx_musicrate/migrations/0008_assignee.py diff --git a/pretalx_musicrate/__init__.py b/pretalx_musicrate/__init__.py index ae6db5f..fee46bd 100644 --- a/pretalx_musicrate/__init__.py +++ b/pretalx_musicrate/__init__.py @@ -1 +1 @@ -__version__ = "0.11.0" +__version__ = "0.11.1" diff --git a/pretalx_musicrate/migrations/0008_assignee.py b/pretalx_musicrate/migrations/0008_assignee.py new file mode 100644 index 0000000..d845d62 --- /dev/null +++ b/pretalx_musicrate/migrations/0008_assignee.py @@ -0,0 +1,42 @@ +# Generated by Django 4.2.8 on 2024-02-12 21:11 + +import django.db.models.deletion +from django.conf import settings +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ("submission", "0072_alter_reviewscore_label"), + ("pretalx_musicrate", "0007_remove_juror_created_remove_juror_updated"), + ] + + operations = [ + migrations.CreateModel( + name="Assignee", + fields=[ + ( + "id", + models.AutoField( + auto_created=True, primary_key=True, serialize=False + ), + ), + ( + "submission", + models.OneToOneField( + on_delete=django.db.models.deletion.CASCADE, + to="submission.submission", + ), + ), + ( + "user", + models.ForeignKey( + on_delete=django.db.models.deletion.CASCADE, + related_name="assigned_submissions", + to=settings.AUTH_USER_MODEL, + ), + ), + ], + ), + ]