pretalx-musicrate/pretalx_musicrate/migrations/0001_initial.py

43 lines
1.2 KiB
Python
Raw Permalink Normal View History

# 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", "0072_alter_reviewscore_label"),
("event", "0033_chinese_locale_codes"),
]
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",
),
),
],
),
]