Coverage for sample_project/migrations/0002_iscousinof_ispartof_issiblingof_livesin.py: 100%
5 statements
« prev ^ index » next coverage.py v7.6.4, created at 2024-11-22 07:51 +0000
« prev ^ index » next coverage.py v7.6.4, created at 2024-11-22 07:51 +0000
1# Generated by Django 5.0.6 on 2024-08-27 08:39
3import django.db.models.deletion
4from django.db import migrations, models
7class Migration(migrations.Migration):
8 dependencies = [
9 ("relations", "0001_initial"),
10 ("sample_project", "0001_initial"),
11 ]
13 operations = [
14 migrations.CreateModel(
15 name="IsCousinOf",
16 fields=[
17 (
18 "relation_ptr",
19 models.OneToOneField(
20 auto_created=True,
21 on_delete=django.db.models.deletion.CASCADE,
22 parent_link=True,
23 primary_key=True,
24 serialize=False,
25 to="relations.relation",
26 ),
27 ),
28 ],
29 bases=("relations.relation",),
30 ),
31 migrations.CreateModel(
32 name="IsPartOf",
33 fields=[
34 (
35 "relation_ptr",
36 models.OneToOneField(
37 auto_created=True,
38 on_delete=django.db.models.deletion.CASCADE,
39 parent_link=True,
40 primary_key=True,
41 serialize=False,
42 to="relations.relation",
43 ),
44 ),
45 ],
46 bases=("relations.relation",),
47 ),
48 migrations.CreateModel(
49 name="IsSiblingOf",
50 fields=[
51 (
52 "relation_ptr",
53 models.OneToOneField(
54 auto_created=True,
55 on_delete=django.db.models.deletion.CASCADE,
56 parent_link=True,
57 primary_key=True,
58 serialize=False,
59 to="relations.relation",
60 ),
61 ),
62 ],
63 bases=("relations.relation",),
64 ),
65 migrations.CreateModel(
66 name="LivesIn",
67 fields=[
68 (
69 "relation_ptr",
70 models.OneToOneField(
71 auto_created=True,
72 on_delete=django.db.models.deletion.CASCADE,
73 parent_link=True,
74 primary_key=True,
75 serialize=False,
76 to="relations.relation",
77 ),
78 ),
79 ],
80 bases=("relations.relation",),
81 ),
82 ]