43 lines
1.3 KiB
Python
43 lines
1.3 KiB
Python
|
# 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,
|
||
|
),
|
||
|
),
|
||
|
],
|
||
|
),
|
||
|
]
|