-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert ABDM into Plug - Part 2/3 (#2313)
Convert ABDM into Plug - Part 2/3 (#2313) --------- Co-authored-by: Aakash Singh <mail@singhaakash.dev> Co-authored-by: Khavin Shankar <khavinshankar@Khavins-MacBook-Air.local>
- Loading branch information
1 parent
14d3ef9
commit 0677656
Showing
4 changed files
with
35 additions
and
13 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", | ||
), | ||
), | ||
] |
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