Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
4.3 KiB
90 lines
4.3 KiB
1 year ago
|
# Generated by Django 2.2.28 on 2023-08-09 15:15
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('seminar', '0116_smazani_personalniho'),
|
||
|
('tvorba', '0001_initial'),
|
||
|
]
|
||
|
|
||
|
run_before = [
|
||
|
('seminar', '0118_smazani_tvorby'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.SeparateDatabaseAndState(
|
||
|
state_operations=[
|
||
|
migrations.AlterField(
|
||
|
model_name='cislonode',
|
||
|
name='cislo',
|
||
|
field=models.OneToOneField(on_delete=django.db.models.deletion.PROTECT, to='tvorba.Cislo', verbose_name='číslo'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='hodnoceni',
|
||
|
name='cislo_body',
|
||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='hodnoceni', to='tvorba.Cislo', verbose_name='číslo pro body'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='hodnoceni',
|
||
|
name='deadline_body',
|
||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='hodnoceni', to='tvorba.Deadline', verbose_name='deadline pro body'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='hodnoceni',
|
||
|
name='problem',
|
||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='hodnoceni', to='tvorba.Problem', verbose_name='problém'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='konfera',
|
||
|
name='problem_ptr',
|
||
|
field=models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='tvorba.Problem'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='nastaveni',
|
||
|
name='aktualni_cislo',
|
||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='tvorba.Cislo', verbose_name='Aktuální číslo'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='pohadkanode',
|
||
|
name='pohadka',
|
||
|
field=models.OneToOneField(on_delete=django.db.models.deletion.PROTECT, to='tvorba.Pohadka', verbose_name='pohádka'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='reseni',
|
||
|
name='problem',
|
||
|
field=models.ManyToManyField(help_text='Problém', through='seminar.Hodnoceni', to='tvorba.Problem', verbose_name='problém'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='rocniknode',
|
||
|
name='rocnik',
|
||
|
field=models.OneToOneField(on_delete=django.db.models.deletion.PROTECT, to='tvorba.Rocnik', verbose_name='ročník'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='soustredeni',
|
||
|
name='rocnik',
|
||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='soustredeni', to='tvorba.Rocnik', verbose_name='ročník'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='temavcislenode',
|
||
|
name='tema',
|
||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='tvorba.Tema', verbose_name='téma v čísle'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='ulohavzoraknode',
|
||
|
name='uloha',
|
||
|
field=models.OneToOneField(null=True, on_delete=django.db.models.deletion.PROTECT, to='tvorba.Uloha', verbose_name='úloha'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='ulohazadaninode',
|
||
|
name='uloha',
|
||
|
field=models.OneToOneField(null=True, on_delete=django.db.models.deletion.PROTECT, to='tvorba.Uloha', verbose_name='úloha'),
|
||
|
),
|
||
|
],
|
||
|
database_operations=[],
|
||
|
),
|
||
|
]
|