20989 update duty_locations table data #13736
Merged
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.
Agility ticket
INT PR
Summary
We received some updates to the transportation offices that should be marked true for provides_services_counseling from J9. This will update the table in all environments.
How to test
http://milmovelocal:3000/internal/duty_locations?search='F.E. Warren' (You will grab the "id" in the first return block.)
http://milmovelocal:3000/internal/transportation_offices/:dutyLocationId/counseling_offices
select dl.id as duty_location_id, dl.name as duty_location_name, transportation_office_id, tr.name as transportation_office_name, provides_services_counseling
from duty_locations dl
join transportation_offices tr on tr.id = dl.transportation_office_id
where transportation_office_id
in (
'1b3e7496-efa7-48aa-ba22-b630d6fea98b',
'972c238d-89a0-4b50-a0cf-79995c3ed1e7',
'485ab35a-79e0-4db4-9f13-09f57532deee',
'a877a317-be5f-482b-a126-c91a34be9290',
'3210a533-19b8-4805-a564-7eb452afce10',
'f69f315c-942a-4ef3-9427-7fee7883ce73',
'1039d189-39ba-47d4-8ed7-c96304576862',
'e4a02d40-2ad9-44c5-a357-202d4ff0b51d',
'57cf1e81-8113-4a52-bc50-3cb8902c2efd'
)