diff --git a/api/src/main/resources/db/migration/V1.0.36__STUDENT_API.sql b/api/src/main/resources/db/migration/V1.0.36__STUDENT_API.sql new file mode 100644 index 0000000..17e3804 --- /dev/null +++ b/api/src/main/resources/db/migration/V1.0.36__STUDENT_API.sql @@ -0,0 +1,7 @@ +UPDATE STUDENT_GENDER_CODE +SET EXPIRY_DATE = to_date('2299-12-31 00:00:00', 'YYYY-MM-DD HH24:MI:SS') +WHERE GENDER_CODE in ('X','U'); + +UPDATE STUDENT_SEX_CODE +SET EXPIRY_DATE = to_date('2299-12-31 00:00:00', 'YYYY-MM-DD HH24:MI:SS') +WHERE SEX_CODE in ('I','U');