# Generated by Django 3.0.4 on 2023-12-07 13:00

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


class Migration(migrations.Migration):

    dependencies = [
        ('cms', '0011_alter_source_name'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='threshold',
            name='is_perception',
        ),
        migrations.RemoveField(
            model_name='threshold',
            name='is_recognition',
        ),
        migrations.AddField(
            model_name='threshold',
            name='source',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='cms.Source', verbose_name='来源'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='threshold',
            name='threshold_type',
            field=models.CharField(blank=True, max_length=50, null=True, verbose_name='阈值类型'),
        ),
    ]
