-
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 MAIN-B-21671-DB-create-re_fsc_multipliers
- Loading branch information
Showing
97 changed files
with
6,374 additions
and
455 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
11 changes: 11 additions & 0 deletions
11
migrations/app/schema/20241018091722_oconus-entitlements-enhancement.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,11 @@ | ||
|
||
ALTER TABLE entitlements | ||
ADD COLUMN IF NOT EXISTS accompanied_tour BOOLEAN NULL, | ||
ADD COLUMN IF NOT EXISTS dependents_under_twelve INTEGER NULL, | ||
ADD COLUMN IF NOT EXISTS dependents_twelve_and_over INTEGER NULL, | ||
ADD COLUMN IF NOT EXISTS ub_allowance INTEGER NULL; | ||
|
||
COMMENT ON COLUMN entitlements.accompanied_tour IS 'Indicates if the move entitlement allows dependents to travel to the new Permanent Duty Station (PDS). This is only present on OCONUS moves.'; | ||
COMMENT ON COLUMN entitlements.dependents_under_twelve IS 'Indicates the number of dependents under the age of twelve for a move. This is only present on OCONUS moves.'; | ||
COMMENT ON COLUMN entitlements.dependents_twelve_and_over IS 'Indicates the number of dependents of the age twelve or older for a move. This is only present on OCONUS moves.'; | ||
COMMENT ON COLUMN entitlements.ub_allowance IS 'The amount of weight in pounds that the move is entitled for shipment types of Unaccompanied Baggage.'; |
500 changes: 500 additions & 0 deletions
500
migrations/app/schema/20241031163018_create_ub_allowances_table.up.sql
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
migrations/app/schema/20241126222026_add_sort_column_to_re_service_items.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,10 @@ | ||
ALTER TABLE re_service_items ADD COLUMN IF NOT EXISTS sort int; | ||
|
||
COMMENT ON COLUMN re_service_items.sort IS 'Sort order for service items to be displayed for a given shipment type.'; | ||
|
||
update re_service_items set sort = 1 where service_id in (select id from re_services where code in ('ISLH','UBP')); | ||
--A shipment will only have either POEFSC or PODFSC, so we set them to the same sort value | ||
update re_service_items set sort = 2 where service_id in (select id from re_services where code = 'POEFSC'); | ||
update re_service_items set sort = 2 where service_id in (select id from re_services where code = 'PODFSC'); | ||
update re_service_items set sort = 3 where service_id in (select id from re_services where code in ('IHPK','IUBPK')); | ||
update re_service_items set sort = 4 where service_id in (select id from re_services where code in ('IHUPK','IUBUPK')); |
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
Oops, something went wrong.