pretalx-musicrate/pretalx_musicrate/migrations/0009_score.py

35 lines
933 B
Python
Raw Permalink Normal View History

2024-02-14 01:45:33 +01:00
# Generated by Django 4.2.8 on 2024-02-14 00:36
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("submission", "0072_alter_reviewscore_label"),
("pretalx_musicrate", "0008_assignee"),
]
operations = [
migrations.CreateModel(
name="Score",
fields=[
(
"id",
models.AutoField(
auto_created=True, primary_key=True, serialize=False
),
),
("value", models.FloatField()),
(
"submission",
models.OneToOneField(
on_delete=django.db.models.deletion.CASCADE,
to="submission.submission",
),
),
],
),
]