Skip to content

Rename stage 'mitigate_risks' to 'mitigate_risk'#67

Merged
jajaramillo24 merged 1 commit intostagingfrom
WN-368
Apr 20, 2026
Merged

Rename stage 'mitigate_risks' to 'mitigate_risk'#67
jajaramillo24 merged 1 commit intostagingfrom
WN-368

Conversation

@jajaramillo24
Copy link
Copy Markdown
Collaborator

Replace occurrences of the 'mitigate_risks' stage with 'mitigate_risk'. Updated the WhatNowRepository stage list and replaced seed CSV entries accordingly. Added a migration that safely renames the enum value by temporarily expanding the ENUM to include both values, updating existing rows to 'mitigate_risk', then shrinking the ENUM; the migration includes a down method to revert the change.

Replace occurrences of the 'mitigate_risks' stage with 'mitigate_risk'. Updated the WhatNowRepository stage list and replaced seed CSV entries accordingly. Added a migration that safely renames the enum value by temporarily expanding the ENUM to include both values, updating existing rows to 'mitigate_risk', then shrinking the ENUM; the migration includes a down method to revert the change.
@jajaramillo24 jajaramillo24 merged commit 483656a into staging Apr 20, 2026
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.

2 participants