-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
446 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
core/migrations/0003_historicalprotocolstep_plate_children_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Generated by Django 4.2.8 on 2024-08-16 13:16 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("core", "0002_alter_protocolstepmapping_t"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="historicalprotocolstep", | ||
name="plate_children", | ||
field=models.JSONField( | ||
blank=True, | ||
default=list, | ||
help_text="The children of the slate", | ||
null=True, | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="protocolstep", | ||
name="plate_children", | ||
field=models.JSONField( | ||
blank=True, | ||
default=list, | ||
help_text="The children of the slate", | ||
null=True, | ||
), | ||
), | ||
] |
20 changes: 20 additions & 0 deletions
20
core/migrations/0004_remove_entity_parent_remove_historicalentity_parent.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Generated by Django 4.2.8 on 2024-08-18 15:16 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("core", "0003_historicalprotocolstep_plate_children_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="entity", | ||
name="parent", | ||
), | ||
migrations.RemoveField( | ||
model_name="historicalentity", | ||
name="parent", | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
core/migrations/0005_entityrelation_only_one_relation_per_kind.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 4.2.8 on 2024-08-18 19:44 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("core", "0004_remove_entity_parent_remove_historicalentity_parent"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddConstraint( | ||
model_name="entityrelation", | ||
constraint=models.UniqueConstraint( | ||
fields=("left", "kind", "right"), name="only_one_relation_per_kind" | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.