0003_auto_20220626_1630.py 909 B

1234567891011121314151617181920212223242526272829
  1. # Generated by Django 3.2.4 on 2022-06-26 16:30
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('user', '0002_auto_20220619_1043'),
  7. ('task', '0002_alter_testtask_id'),
  8. ]
  9. operations = [
  10. migrations.AddField(
  11. model_name='testcase',
  12. name='executor_id',
  13. field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='user.user', verbose_name='执行者id'),
  14. ),
  15. migrations.RemoveField(
  16. model_name='testtask',
  17. name='executor',
  18. ),
  19. migrations.AddField(
  20. model_name='testtask',
  21. name='executor',
  22. field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='user.user', verbose_name='测试任务执行者'),
  23. ),
  24. ]