add migration to create thhs/thh_enrs for members who are not on FAA #4919
+269
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Checklist
Please check if your PR fulfills the following requirements:
let
helpers andbefore
blocks..html_safe
.PR Type
What kind of change does this PR introduce?:
What is the ticket # detailing the issue?
Ticket: https://www.pivotaltracker.com/story/show/188604586
A brief description of the changes:
Current behavior: Currently, for members who are added after an FAA application has been determined and an APTC enrollment has been purchased, these members do not exist in any tax household or tax household enrollment. As a result, the 1095-A form is not generated for these dependents.
New behavior: A migration has been added to create tax household and tax household enrollment records for the missing enrollment members.
Please run the rake task:
CLIENT=me bundle exec rails runner script/tax_household_groups/tax_households/create_for_members_not_on_faa.rb 2024
Feature Flag
For all new feature development, a feature flag is required to control the exposure of the feature to our end users. A feature flag needs a corresponding environment variable to initialize the state of the flag. Please share the name of the environment variable below that would enable/disable the feature and indicate which client(s) it applies to.
Variable name:
Additional Context
Include any additional context that may be relevant to the peer review process.