43 lines
1.2 KiB
Python
43 lines
1.2 KiB
Python
|
# Generated by Django 4.2.8 on 2023-12-14 18:32
|
||
|
|
||
|
import django.db.models.deletion
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
initial = True
|
||
|
|
||
|
dependencies = [
|
||
|
("submission", "0074_created_updated_everywhere"),
|
||
|
("event", "0035_created_updated_everywhere"),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name="MusicrateSettings",
|
||
|
fields=[
|
||
|
(
|
||
|
"id",
|
||
|
models.AutoField(
|
||
|
auto_created=True, primary_key=True, serialize=False
|
||
|
),
|
||
|
),
|
||
|
(
|
||
|
"event",
|
||
|
models.OneToOneField(
|
||
|
on_delete=django.db.models.deletion.CASCADE,
|
||
|
related_name="pretalx_musicrate_settings",
|
||
|
to="event.event",
|
||
|
),
|
||
|
),
|
||
|
(
|
||
|
"submission_types",
|
||
|
models.ManyToManyField(
|
||
|
related_name="pretalx_musicrate_settings",
|
||
|
to="submission.submissiontype",
|
||
|
),
|
||
|
),
|
||
|
],
|
||
|
),
|
||
|
]
|