# Generated by Django 3.0.5 on 2023-05-17 06:19

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


class Migration(migrations.Migration):

    dependencies = [
        ('supervision', '0038_auto_20230517_0951'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='complaint',
            name='task2',
        ),
        migrations.RemoveField(
            model_name='oinspect',
            name='task2',
        ),
        migrations.RemoveField(
            model_name='pgoaldept',
            name='task2',
        ),
        migrations.RemoveField(
            model_name='pt',
            name='task2',
        ),
        migrations.RemoveField(
            model_name='rc',
            name='task2',
        ),
        migrations.RemoveField(
            model_name='risk',
            name='task2',
        ),
        migrations.AddField(
            model_name='complaint',
            name='task2do',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='supervision.Task2Do', verbose_name='关联任务执行'),
        ),
        migrations.AddField(
            model_name='oinspect',
            name='task2do',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='supervision.Task2Do', verbose_name='关联任务执行'),
        ),
        migrations.AddField(
            model_name='pgoaldept',
            name='task2do',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='supervision.Task2Do', verbose_name='关联任务执行'),
        ),
        migrations.AddField(
            model_name='pt',
            name='task2do',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='supervision.Task2Do', verbose_name='关联任务执行'),
        ),
        migrations.AddField(
            model_name='rc',
            name='task2do',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='supervision.Task2Do', verbose_name='关联任务执行'),
        ),
        migrations.AddField(
            model_name='risk',
            name='task2do',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='supervision.Task2Do', verbose_name='关联任务执行'),
        ),
    ]
