Tomas "Jethro" Pokorny
5 years ago
3 changed files with 51 additions and 4 deletions
@ -0,0 +1,27 @@ |
|||
# 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',), |
|||
), |
|||
] |
Loading…
Reference in new issue