Coverage for apis_core/apis_relations/migrations/0004_auto_20230124_1201.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.6.4, created at 2024-11-22 07:51 +0000

1# Generated by Django 3.1.14 on 2023-01-24 12:01 

2 

3import django.db.models.deletion 

4from django.db import migrations, models 

5 

6import apis_core.apis_relations.models 

7 

8 

9class Migration(migrations.Migration): 

10 dependencies = [ 

11 ("apis_metainfo", "0003_auto_20220218_1530"), 

12 ("apis_relations", "0003_auto_20230123_1715"), 

13 ] 

14 

15 operations = [ 

16 migrations.AlterField( 

17 model_name="property", 

18 name="name_forward", 

19 field=models.CharField( 

20 blank=True, 

21 help_text='Inverse relation like: "is sub-class of" vs. "is super-class of".', 

22 max_length=255, 

23 verbose_name="Name forward", 

24 ), 

25 ), 

26 migrations.AlterField( 

27 model_name="triple", 

28 name="obj", 

29 field=apis_core.apis_relations.models.InheritanceForeignKey( 

30 blank=True, 

31 null=True, 

32 on_delete=django.db.models.deletion.CASCADE, 

33 related_name="triple_set_from_obj", 

34 to="apis_metainfo.rootobject", 

35 verbose_name="Object", 

36 ), 

37 ), 

38 migrations.AlterField( 

39 model_name="triple", 

40 name="prop", 

41 field=models.ForeignKey( 

42 blank=True, 

43 null=True, 

44 on_delete=django.db.models.deletion.CASCADE, 

45 related_name="triple_set_from_prop", 

46 to="apis_relations.property", 

47 verbose_name="Property", 

48 ), 

49 ), 

50 migrations.AlterField( 

51 model_name="triple", 

52 name="subj", 

53 field=apis_core.apis_relations.models.InheritanceForeignKey( 

54 blank=True, 

55 null=True, 

56 on_delete=django.db.models.deletion.CASCADE, 

57 related_name="triple_set_from_subj", 

58 to="apis_metainfo.rootobject", 

59 verbose_name="Subject", 

60 ), 

61 ), 

62 ]