-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into B-21583-gbloc-AK-moves
- Loading branch information
Showing
115 changed files
with
873 additions
and
410 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
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
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
25 changes: 25 additions & 0 deletions
25
migrations/app/schema/20250110001339_update_nts_release_enum_name.up.sql
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,25 @@ | ||
-- Rename the existing enum value 'HHG_OUTOF_NTS_DOMESTIC' to 'HHG_OUTOF_NTS' | ||
DO $$ | ||
BEGIN | ||
IF EXISTS ( | ||
SELECT 1 | ||
FROM pg_type t | ||
JOIN pg_enum e ON t.oid = e.enumtypid | ||
WHERE t.typname = 'mto_shipment_type' | ||
AND e.enumlabel = 'HHG_OUTOF_NTS_DOMESTIC' | ||
) THEN | ||
ALTER TYPE mto_shipment_type | ||
RENAME VALUE 'HHG_OUTOF_NTS_DOMESTIC' TO 'HHG_OUTOF_NTS'; | ||
END IF; | ||
END $$; | ||
|
||
-- Update column comments to include all current shipment types | ||
COMMENT ON COLUMN mto_shipments.shipment_type IS 'The type of shipment. The list includes: | ||
1. Personally procured move (PPM) | ||
2. Household goods move (HHG) | ||
3. Non-temporary storage (HHG_INTO_NTS) | ||
4. Non-temporary storage-release (HHG_OUTOF_NTS) | ||
5. Mobile home (MOBILE_HOME) | ||
6. Boat haul away (BOAT_HAUL_AWAY) | ||
7. Boat tow away (BOAT_TOW_AWAY) | ||
8. Unaccompanied baggage (UNACCOMPANIED_BAGGAGE)'; |
Oops, something went wrong.