123456789101112131415161718192021222324252627282930 |
- # Generated by Django 3.0.8 on 2020-07-21 09:34
- from django.db import migrations, models
- import django.db.models.deletion
- import mptt.fields
- class Migration(migrations.Migration):
- dependencies = [
- ('workTtree', '0001_initial'),
- ]
- operations = [
- migrations.AddField(
- model_name='schooldept',
- name='parent',
- field=mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='children_p', to='workTtree.SchoolDept'),
- ),
- migrations.AlterField(
- model_name='schooldept',
- name='create_by',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='children_c', to='workTtree.SchoolDept'),
- ),
- migrations.AlterField(
- model_name='schooldept',
- name='update_by',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='children_u', to='workTtree.SchoolDept', verbose_name='最后修改人'),
- ),
- ]
|