diff --git a/api/pom.xml b/api/pom.xml index 417c1c2c..3e2e164a 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -6,7 +6,7 @@ ca.bc.gov.educ educ-grad-trax-api - 1.8.48 + 1.8.49 educ-grad-trax-api Ministry of Education GRAD TRAX API diff --git a/api/src/main/java/ca/bc/gov/educ/api/trax/model/dto/GradCourse.java b/api/src/main/java/ca/bc/gov/educ/api/trax/model/dto/GradCourse.java index 3f2bca8f..2d0f84e8 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/trax/model/dto/GradCourse.java +++ b/api/src/main/java/ca/bc/gov/educ/api/trax/model/dto/GradCourse.java @@ -58,4 +58,6 @@ public class GradCourse { // career life connections private String careerLifeConnections; + // indigenous-focused + private String indigenousFocused; } diff --git a/api/src/main/java/ca/bc/gov/educ/api/trax/model/entity/GradCourseEntity.java b/api/src/main/java/ca/bc/gov/educ/api/trax/model/entity/GradCourseEntity.java index 206ae7f6..c417d03b 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/trax/model/entity/GradCourseEntity.java +++ b/api/src/main/java/ca/bc/gov/educ/api/trax/model/entity/GradCourseEntity.java @@ -12,7 +12,7 @@ @Data @Immutable @Entity -@Where(clause = "GRAD_REQT_YEAR in ('2004','2018','1950','1996','1986')") +@Where(clause = "GRAD_REQT_YEAR in ('2023','2018','2004','1996','1986','1950')") @Table(name = "TAB_GRAD_CRSE") public class GradCourseEntity { @@ -69,4 +69,6 @@ public class GradCourseEntity { private String fineArts; @Column(name = "GRAD_CAREER_LIFE_CONNECTIONS") private String careerLifeConnections; + @Column(name = "GRAD_INDIGENOUS_FOCUSED") + private String indigenousFocused; } diff --git a/api/src/main/resources/db/migration/1.0/V1.0.24__DDL-DROP_TABLE-temp_table.sql b/api/src/main/resources/db/migration/1.0/V1.0.24__DDL-DROP_TABLE-temp_table.sql new file mode 100644 index 00000000..09a995da --- /dev/null +++ b/api/src/main/resources/db/migration/1.0/V1.0.24__DDL-DROP_TABLE-temp_table.sql @@ -0,0 +1,2 @@ +-- API_GRAD_TRAX.TMP_STUDENT Drop +DROP TABLE "TMP_STUDENT" CASCADE CONSTRAINTS;