28 lines
990 B
Python
28 lines
990 B
Python
|
# Generated by Django 2.2.9 on 2020-03-18 23:59
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('seminar', '0077_auto_20200318_2146'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='OtisteneReseniNode',
|
||
|
fields=[
|
||
|
('treenode_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='seminar.TreeNode')),
|
||
|
('reseni', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='seminar.Reseni', verbose_name='reseni')),
|
||
|
],
|
||
|
options={
|
||
|
'verbose_name': 'Otištěné řešení (Node)',
|
||
|
'verbose_name_plural': 'Otištěná řešení (Node)',
|
||
|
'db_table': 'seminar_nodes_otistene_reseni',
|
||
|
},
|
||
|
bases=('seminar.treenode',),
|
||
|
),
|
||
|
]
|