# Generated by Django 3.0.5 on 2021-03-15 06:12

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('system', '0008_auto_20210311_0919'),
        ('supervision', '0006_auto_20210312_1440'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='record',
            name='belong_to',
        ),
        migrations.RemoveField(
            model_name='task',
            name='belong_to',
        ),
        migrations.AddField(
            model_name='record',
            name='belong_dept',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='record_belong_dept', to='system.Organization', verbose_name='所属部门'),
        ),
        migrations.AddField(
            model_name='record',
            name='up_date',
            field=models.DateField(blank=True, null=True, verbose_name='上报时间'),
        ),
        migrations.AddField(
            model_name='task',
            name='belong_dept',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='task_belong_dept', to='system.Organization', verbose_name='所属部门'),
        ),
        migrations.AlterField(
            model_name='task',
            name='is_self',
            field=models.BooleanField(default=False, verbose_name='是否主动报送'),
        ),
    ]
