-
Notifications
You must be signed in to change notification settings - Fork 3
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
11 changed files
with
1,040 additions
and
181 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
backend/cables/migrations/0009_alter_diagnosis_sgmt_landscape_integr_risk_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,45 @@ | ||
# Generated by Django 4.2.16 on 2024-11-20 13:40 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
( | ||
"sinp_nomenclatures", | ||
"0004_alter_nomenclature_status_alter_source_name_and_more", | ||
), | ||
("cables", "0008_remove_diagnosis_sgmt_veget_integr_risk_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="diagnosis", | ||
name="sgmt_landscape_integr_risk", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="Landscape level of risk", | ||
limit_choices_to={"type__mnemonic": "risk_level"}, | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="segment_landscape_risk", | ||
to="sinp_nomenclatures.nomenclature", | ||
verbose_name="landscape level of risk", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="diagnosis", | ||
name="sgmt_moving_risk", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="Moving level of risk", | ||
limit_choices_to={"type__mnemonic": "risk_level"}, | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="segment_moving_risk", | ||
to="sinp_nomenclatures.nomenclature", | ||
verbose_name="moving level of risk", | ||
), | ||
), | ||
] |
Large diffs are not rendered by default.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
backend/mortality/migrations/0007_alter_mortality_infrstr.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,27 @@ | ||
# Generated by Django 4.2.16 on 2024-11-20 13:40 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("cables", "0009_alter_diagnosis_sgmt_landscape_integr_risk_and_more"), | ||
("mortality", "0006_mortality_areas"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="mortality", | ||
name="infrstr", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="Infrastructure related to mortality case", | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name="mortality", | ||
to="cables.infrastructure", | ||
verbose_name="Infrastructure related to mortality case", | ||
), | ||
), | ||
] |
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
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.