# Generated by Django 3.2 on 2021-07-17 20:05 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('user', '0001_initial'), ('software', '0001_initial'), ] operations = [ migrations.CreateModel( name='TestPlan', fields=[ ('id', models.CharField(default='TestLaboratory_V1_Plan_1', max_length=30, primary_key=True, serialize=False, unique=True, verbose_name='测试计划编号')), ('title', models.CharField(max_length=30, verbose_name='测试计划标题')), ('version', models.CharField(max_length=20, verbose_name='软件版本')), ('state', models.IntegerField(verbose_name='测试计划执行状态')), ('description', models.TextField(verbose_name='测试计划描述')), ('statement_file', models.TextField(verbose_name='说明文档id路径')), ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), ('update_time', models.DateTimeField(auto_now=True, verbose_name='修改时间')), ('delete', models.BooleanField(default=False)), ('creator', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='user.user', verbose_name='测试计划执行者')), ('software', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='software.software', verbose_name='测试软件')), ], options={ 'verbose_name': '测试计划', 'verbose_name_plural': '测试计划', 'db_table': 'plan', }, ), ]