0001_initial.py 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. # Generated by Django 3.2.4 on 2022-10-04 20:49
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. initial = True
  5. dependencies = [
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='Group',
  10. fields=[
  11. ('name', models.CharField(max_length=128, verbose_name='组名')),
  12. ('id', models.CharField(default='TestLaboratory_V1_Group_1', max_length=128, primary_key=True, serialize=False, unique=True, verbose_name='分组id')),
  13. ('code', models.IntegerField(verbose_name='分组code')),
  14. ('manager', models.CharField(max_length=60, verbose_name='管理员id')),
  15. ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
  16. ('update_time', models.DateTimeField(auto_now=True, verbose_name='修改时间')),
  17. ('delete', models.BooleanField(default=False)),
  18. ],
  19. options={
  20. 'verbose_name': '被测试软件',
  21. 'verbose_name_plural': '被测试软件',
  22. 'db_table': 'group',
  23. },
  24. ),
  25. ]