You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.6 KiB

  1. # Generated by Django 3.2.3 on 2021-06-03 04:38
  2. from django.conf import settings
  3. from django.db import migrations, models
  4. import django.db.models.deletion
  5. class Migration(migrations.Migration):
  6. dependencies = [
  7. migrations.swappable_dependency(settings.AUTH_USER_MODEL),
  8. ('api', '0013_merge_20210528_1016'),
  9. ]
  10. operations = [
  11. migrations.AlterField(
  12. model_name='annotationrelations',
  13. name='timestamp',
  14. field=models.DateTimeField(),
  15. ),
  16. migrations.AlterField(
  17. model_name='annotationrelations',
  18. name='type',
  19. field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='annotation_relations', to='api.relationtypes'),
  20. ),
  21. migrations.AlterField(
  22. model_name='annotationrelations',
  23. name='user',
  24. field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='annotation_relations', to=settings.AUTH_USER_MODEL),
  25. ),
  26. migrations.AlterField(
  27. model_name='relationtypes',
  28. name='color',
  29. field=models.TextField(),
  30. ),
  31. migrations.AlterField(
  32. model_name='relationtypes',
  33. name='name',
  34. field=models.TextField(),
  35. ),
  36. migrations.AlterUniqueTogether(
  37. name='annotationrelations',
  38. unique_together={('annotation_id_1', 'annotation_id_2', 'type', 'project')},
  39. ),
  40. migrations.AlterUniqueTogether(
  41. name='relationtypes',
  42. unique_together={('color', 'name')},
  43. ),
  44. ]