-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#3623 - SFAS-SIMS Bridge File - Update layout and Insert PT MSFAA info (
#3775) - Created the new MSFAA columns. - Used the same DB type already in place for the existing full-time MSFAA. - Updated the entity model to reflect the DB type. - Adjusted an E2E file to one individual with part-time data. ### Rollback ![image](https://github.com/user-attachments/assets/5ff95ca2-cfd2-4ed5-b51c-7240c577a78f)
- Loading branch information
1 parent
411d242
commit 5f8e6d6
Showing
8 changed files
with
82 additions
and
6 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
...d/apps/db-migrations/src/migrations/1728416893266-SFAStoSIMSBridgePartTimeMSFAAColumns.ts
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,21 @@ | ||
import { MigrationInterface, QueryRunner } from "typeorm"; | ||
import { getSQLFileData } from "../utilities/sqlLoader"; | ||
|
||
export class SFAStoSIMSBridgePartTimeMSFAAColumns1728416893266 | ||
implements MigrationInterface | ||
{ | ||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query( | ||
getSQLFileData("Add-part-time-msfaa-columns.sql", "SFASIndividuals"), | ||
); | ||
} | ||
|
||
public async down(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query( | ||
getSQLFileData( | ||
"Rollback-add-part-time-msfaa-columns.sql", | ||
"SFASIndividuals", | ||
), | ||
); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...ckages/backend/apps/db-migrations/src/sql/SFASIndividuals/Add-part-time-msfaa-columns.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 | ||
sims.sfas_individuals | ||
ADD | ||
COLUMN part_time_msfaa_number CHAR(10), | ||
ADD | ||
COLUMN part_time_msfaa_effective_date DATE; | ||
|
||
COMMENT ON COLUMN sims.sfas_individuals.part_time_msfaa_number IS 'The most recent Part-time Master Student Loan Agreement Number (agreement_num.sail_msfaa_numbers).'; | ||
|
||
COMMENT ON COLUMN sims.sfas_individuals.part_time_msfaa_effective_date IS 'The most recent Part-time Master Student Loan Agreement effective date (effective_date.sail_msfaa_numbers).'; |
3 changes: 3 additions & 0 deletions
3
...ckend/apps/db-migrations/src/sql/SFASIndividuals/Rollback-add-part-time-msfaa-columns.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,3 @@ | ||
ALTER TABLE | ||
sims.sfas_individuals DROP COLUMN part_time_msfaa_number, | ||
DROP COLUMN part_time_msfaa_effective_date; |
4 changes: 2 additions & 2 deletions
4
.../schedulers/sfas-integration/_tests_/sfas-files/SFAS-TO-SIMS-VALID-INDIVIDUAL-RECORDS.txt
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
100AESTSFAS TO SIMS BRIDGE 20240709110630 | ||
2000000083540000000000083540GIORGIO GIOVANNI 19660721121380174Y19660721Y1967072298765432102024071276543210010000005000000000500000007560500000756050000007413000000741300000074130000007413000000000020000000017 | ||
2000000083541000000000083541GIORGIO GIOVANNI 19491116108796293N N 98765432112024071376543220020000005000000000500000011040000001104000000110400000011040000001104000000110400000000000020000000002 | ||
2000000083542000000000083542GIORGIO GIOVANNI 19700702122886591 00000000000000000000000000000000000000000000000000000000000000000000000000000000011039000000000000000000000000000000000000000000 | ||
2000000083541000000000083541GIORGIO GIOVANNI 19491116108796293N N 98765432112024071376543220020000005000000000500000011040000001104000000110400000011040000001104000000110400000000000020000000002123456789020241231 | ||
2000000083542000000000083542GIORGIO GIOVANNI 19700702122886591 00000000000000000000000000000000000000000000000000000000000000000000000000000000011039000000000000000000000000000000000000000000 | ||
999000048090000009580094900 |
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