-
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' of github.com:transcom/mymove into MAIN-B-22056_s…
…ns_sqs_deps_w_endpoint
- Loading branch information
Showing
127 changed files
with
1,942 additions
and
342 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
25 changes: 25 additions & 0 deletions
25
migrations/app/schema/20241216170325_update_nts_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_INTO_NTS_DOMESTIC' to 'HHG_INTO_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_INTO_NTS_DOMESTIC' | ||
) THEN | ||
ALTER TYPE mto_shipment_type | ||
RENAME VALUE 'HHG_INTO_NTS_DOMESTIC' TO 'HHG_INTO_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_DOMESTIC) | ||
5. Mobile home (MOBILE_HOME) | ||
6. Boat haul away (BOAT_HAUL_AWAY) | ||
7. Boat tow away (BOAT_TOW_AWAY) | ||
8. Unaccompanied baggage (UNACCOMPANIED_BAGGAGE)'; |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.