mamweb/seminar/migrations/0107_zmrazenavysledkovka.py

26 lines
853 B
Python

# Generated by Django 3.2.15 on 2022-10-10 07:23
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('seminar', '0106_remove_cislo_verejna_vysledkovka'),
]
operations = [
migrations.CreateModel(
name='ZmrazenaVysledkovka',
fields=[
('deadline', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, related_name='vysledkovka_v_deadlinu', serialize=False, to='seminar.deadline')),
('html', models.TextField()),
],
options={
'verbose_name': 'Zmražená výsledkovka',
'verbose_name_plural': 'Zmražené výsledkovky',
'db_table': 'seminar_vysledkovky',
},
),
]