# Generated by Django 3.0.5 on 2021-03-16 00:27

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('supervision', '0007_auto_20210315_1412'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='task',
            name='is_self',
        ),
        migrations.AddField(
            model_name='record',
            name='is_self',
            field=models.BooleanField(default=False, verbose_name='是否主动报送'),
        ),
        migrations.AlterField(
            model_name='record',
            name='content',
            field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, related_name='record_content', to='supervision.Content', verbose_name='材料内容'),
        ),
        migrations.AlterField(
            model_name='record',
            name='task',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='record_task', to='supervision.Task', verbose_name='关联任务'),
        ),
        migrations.AlterField(
            model_name='record',
            name='up_user',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='record_up_user', to=settings.AUTH_USER_MODEL, verbose_name='上报人'),
        ),
    ]
