Skip to content

Commit

Permalink
Merge pull request #583 from bcgov/feature/GRAD2-2325
Browse files Browse the repository at this point in the history
GRAD2-2325: schema changes on EdwGraduationSnapshot output table.
  • Loading branch information
infstar authored Oct 18, 2023
2 parents 2073861 + af2382d commit 38bc102
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,5 @@ public class EdwGraduationSnapshot {
@JsonFormat(pattern=DEFAULT_DATE_FORMAT)
private LocalDate sessionDate;

private String frenchDogwood;
private String francophoneDogwood;
private String schoolOfRecord;
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ public class EdwGraduationSnapshotEntity {
private LocalDate runDate;
@Column(name = "SESSION_DATE", nullable = true)
private LocalDate sessionDate;
@Column(name = "PRINT_FRENCH_DOG", nullable = true)
private String frenchDogwood;
@Column(name = "PRINT_FRANCOPHONE", nullable = true)
private String francophoneDogwood;
@Column(name = "SCHOOL_OF_RECORD", nullable = true)
private String schoolOfRecord;

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ALTER TABLE EDW_GRADUATION_SNAPSHOT DROP COLUMN PRINT_FRENCH_DOG;
ALTER TABLE EDW_GRADUATION_SNAPSHOT DROP COLUMN PRINT_FRANCOPHONE;
ALTER TABLE EDW_GRADUATION_SNAPSHOT ADD "SCHOOL_OF_RECORD" VARCHAR2(9 BYTE);

0 comments on commit 38bc102

Please sign in to comment.