Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CM-197: change holder to institution char field #29

Merged
merged 2 commits into from Aug 8, 2023

Conversation

jdolkowski
Copy link
Collaborator

https://openimis.atlassian.net/browse/CM-197

This PR changes holder foreign key to policy holder to institution char field.

from django.db import migrations, models


class Migration(migrations.Migration):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note about this migration - if we would operate on somemething used in production it'd be better to create custom migration that would add new column, then fill this column with policy holder names and remove policyholder column after that's done.

@dborowiecki dborowiecki merged commit ce5f1c2 into develop Aug 8, 2023
3 checks passed
@dborowiecki dborowiecki deleted the feature/CM-197 branch August 8, 2023 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants