-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added replace migrations for migrations with abdm dependencies
- Loading branch information
1 parent
a9d1e17
commit 9d83712
Showing
5 changed files
with
48 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Generated by Django 4.2.10 on 2024-04-21 17:40 | ||
|
||
# This is a replacement migration for abdm.0013 that omits the RunPython operation (reverse_patient_abhanumber_relation) and facility migration dependency. | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("abdm", "0012_consentrequest_status"), | ||
] | ||
|
||
replaces = [ | ||
("abdm", "0013_abhanumber_patient"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="abhanumber", | ||
name="patient", | ||
field=models.OneToOneField( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="abha_number", | ||
to="facility.patientregistration", | ||
), | ||
), | ||
] |
File renamed without changes.
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.10 on 2024-04-21 17:12 | ||
|
||
# This is a replacement migration for facility.0374 and facility.0428 that creates and removes the abha_number field on PatientRegistration. | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("facility", "0373_remove_patientconsultation_hba1c"), | ||
] | ||
|
||
replaces = [ | ||
("facility", "0374_historicalpatientregistration_abha_number_and_more"), | ||
("facility", "0444_remove_historicalpatientregistration_abha_number_and_more"), | ||
] | ||
|
||
operations = [] |
File renamed without changes.
File renamed without changes.