From 39fb59b182e67764237742790db7aba5b34bda0c Mon Sep 17 00:00:00 2001 From: githubmamatha Date: Thu, 13 Jun 2024 08:48:04 -0700 Subject: [PATCH 1/2] Grad2-2749 Update descriptions and expiry dates. --- ...ML-UPDATE_TABLE-Exam_Special_Case_Code.sql | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 api/src/main/resources/db/migration/1.0/V1.0.29__DML-UPDATE_TABLE-Exam_Special_Case_Code.sql diff --git a/api/src/main/resources/db/migration/1.0/V1.0.29__DML-UPDATE_TABLE-Exam_Special_Case_Code.sql b/api/src/main/resources/db/migration/1.0/V1.0.29__DML-UPDATE_TABLE-Exam_Special_Case_Code.sql new file mode 100644 index 0000000..b818655 --- /dev/null +++ b/api/src/main/resources/db/migration/1.0/V1.0.29__DML-UPDATE_TABLE-Exam_Special_Case_Code.sql @@ -0,0 +1,50 @@ +UPDATE EXAM_SPECIAL_CASE_CODE +SET LABEL='Aegrotat', DESCRIPTION='Aegrotat Standing. The student has been granted exemption from writing a Provincial Exam due to unpredictable circumstances that render a student unable to write an exam even at a future session.', + EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2020-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP +WHERE EXAM_SPECIAL_CASE_CODE='A'; + +UPDATE EXAM_SPECIAL_CASE_CODE +SET LABEL='Bogus', DESCRIPTION='When the school reported the same school percentage in more than one session, but the student did not retake the course.For example, if a school reported 65% for both January and April for a given examinable course, TRAX would recognize a duplication, considered the second superfluous and mark that record’s classroom mark with a B.The B course would be ignored for mixing and matching.', + EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2020-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP +WHERE EXAM_SPECIAL_CASE_CODE='B'; + +UPDATE EXAM_SPECIAL_CASE_CODE +SET LABEL='Challenge', DESCRIPTION='Used for students wishing to obtain a scholarship score by challenging a provincially examinable course. After the 1997-98 implementation of the new Course Challenge Policy, this practice was phased out.', + EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2001-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP +WHERE EXAM_SPECIAL_CASE_CODE='C'; + +UPDATE EXAM_SPECIAL_CASE_CODE +SET LABEL='Deferred', DESCRIPTION='Indicates that the student was granted a deferral for writing the exam because of illness, accident or personal difficulty.', + EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2020-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP +WHERE EXAM_SPECIAL_CASE_CODE='D'; + +UPDATE EXAM_SPECIAL_CASE_CODE +SET LABEL='Special Case F', DESCRIPTION='Unknown. Not applied after 1986.', + EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('1986-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP +WHERE EXAM_SPECIAL_CASE_CODE='F'; + +UPDATE EXAM_SPECIAL_CASE_CODE +SET LABEL='None', DESCRIPTION='Indicates no special case for the provincial exam.', + EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2020-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP +WHERE EXAM_SPECIAL_CASE_CODE='N'; + +UPDATE EXAM_SPECIAL_CASE_CODE +SET LABEL='Disqualified', DESCRIPTION='Student is believed to have breached one or more rules during a provincial exam and any result was disqualified.', + EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2020-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP +WHERE EXAM_SPECIAL_CASE_CODE='Q'; + +UPDATE EXAM_SPECIAL_CASE_CODE +SET LABEL='Rewrite', DESCRIPTION='Student re-wrote the exam but did not re-take the course.', + EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2020-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP +WHERE EXAM_SPECIAL_CASE_CODE='R'; + +UPDATE EXAM_SPECIAL_CASE_CODE +SET LABEL='Verified', DESCRIPTION='Student re-took the course and received the exact same school percent as last time. Initially flagged as "B", but changed to V when the student’s classroom mark was confirmed.', + EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2020-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP +WHERE EXAM_SPECIAL_CASE_CODE='V'; + +UPDATE EXAM_SPECIAL_CASE_CODE +SET LABEL='Special Case W', DESCRIPTION='Unknown. Not applied after 1986.', + EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('1986-08-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP +WHERE EXAM_SPECIAL_CASE_CODE='W'; + From a34a7595dbc1a389c96ac54272af1232613ac743 Mon Sep 17 00:00:00 2001 From: githubmamatha Date: Wed, 26 Jun 2024 15:30:03 -0700 Subject: [PATCH 2/2] Grad2-2747 added spaces after period in the description --- ...ML-UPDATE_TABLE-Exam_Special_Case_Code.sql | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/api/src/main/resources/db/migration/1.0/V1.0.29__DML-UPDATE_TABLE-Exam_Special_Case_Code.sql b/api/src/main/resources/db/migration/1.0/V1.0.29__DML-UPDATE_TABLE-Exam_Special_Case_Code.sql index b818655..2b06dac 100644 --- a/api/src/main/resources/db/migration/1.0/V1.0.29__DML-UPDATE_TABLE-Exam_Special_Case_Code.sql +++ b/api/src/main/resources/db/migration/1.0/V1.0.29__DML-UPDATE_TABLE-Exam_Special_Case_Code.sql @@ -1,50 +1,50 @@ UPDATE EXAM_SPECIAL_CASE_CODE -SET LABEL='Aegrotat', DESCRIPTION='Aegrotat Standing. The student has been granted exemption from writing a Provincial Exam due to unpredictable circumstances that render a student unable to write an exam even at a future session.', +SET LABEL='Aegrotat', DESCRIPTION='Aegrotat Standing. The student has been granted exemption from writing a Provincial Exam due to unpredictable circumstances that render a student unable to write an exam even at a future session. ', EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2020-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP WHERE EXAM_SPECIAL_CASE_CODE='A'; UPDATE EXAM_SPECIAL_CASE_CODE -SET LABEL='Bogus', DESCRIPTION='When the school reported the same school percentage in more than one session, but the student did not retake the course.For example, if a school reported 65% for both January and April for a given examinable course, TRAX would recognize a duplication, considered the second superfluous and mark that record’s classroom mark with a B.The B course would be ignored for mixing and matching.', +SET LABEL='Bogus', DESCRIPTION='When the school reported the same school percentage in more than one session, but the student did not retake the course.For example, if a school reported 65% for both January and April for a given examinable course, TRAX would recognize a duplication, considered the second superfluous and mark that record’s classroom mark with a B.The B course would be ignored for mixing and matching. ', EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2020-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP WHERE EXAM_SPECIAL_CASE_CODE='B'; UPDATE EXAM_SPECIAL_CASE_CODE -SET LABEL='Challenge', DESCRIPTION='Used for students wishing to obtain a scholarship score by challenging a provincially examinable course. After the 1997-98 implementation of the new Course Challenge Policy, this practice was phased out.', +SET LABEL='Challenge', DESCRIPTION='Used for students wishing to obtain a scholarship score by challenging a provincially examinable course. After the 1997-98 implementation of the new Course Challenge Policy, this practice was phased out. ', EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2001-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP WHERE EXAM_SPECIAL_CASE_CODE='C'; UPDATE EXAM_SPECIAL_CASE_CODE -SET LABEL='Deferred', DESCRIPTION='Indicates that the student was granted a deferral for writing the exam because of illness, accident or personal difficulty.', +SET LABEL='Deferred', DESCRIPTION='Indicates that the student was granted a deferral for writing the exam because of illness, accident or personal difficulty. ', EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2020-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP WHERE EXAM_SPECIAL_CASE_CODE='D'; UPDATE EXAM_SPECIAL_CASE_CODE -SET LABEL='Special Case F', DESCRIPTION='Unknown. Not applied after 1986.', +SET LABEL='Special Case F', DESCRIPTION='Unknown. Not applied after 1986. ', EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('1986-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP WHERE EXAM_SPECIAL_CASE_CODE='F'; UPDATE EXAM_SPECIAL_CASE_CODE -SET LABEL='None', DESCRIPTION='Indicates no special case for the provincial exam.', +SET LABEL='None', DESCRIPTION='Indicates no special case for the provincial exam. ', EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2020-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP WHERE EXAM_SPECIAL_CASE_CODE='N'; UPDATE EXAM_SPECIAL_CASE_CODE -SET LABEL='Disqualified', DESCRIPTION='Student is believed to have breached one or more rules during a provincial exam and any result was disqualified.', +SET LABEL='Disqualified', DESCRIPTION='Student is believed to have breached one or more rules during a provincial exam and any result was disqualified. ', EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2020-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP WHERE EXAM_SPECIAL_CASE_CODE='Q'; UPDATE EXAM_SPECIAL_CASE_CODE -SET LABEL='Rewrite', DESCRIPTION='Student re-wrote the exam but did not re-take the course.', +SET LABEL='Rewrite', DESCRIPTION='Student re-wrote the exam but did not re-take the course. ', EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2020-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP WHERE EXAM_SPECIAL_CASE_CODE='R'; UPDATE EXAM_SPECIAL_CASE_CODE -SET LABEL='Verified', DESCRIPTION='Student re-took the course and received the exact same school percent as last time. Initially flagged as "B", but changed to V when the student’s classroom mark was confirmed.', +SET LABEL='Verified', DESCRIPTION='Student re-took the course and received the exact same school percent as last time. Initially flagged as "B", but changed to V when the student’s classroom mark was confirmed. ', EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('2020-06-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP WHERE EXAM_SPECIAL_CASE_CODE='V'; UPDATE EXAM_SPECIAL_CASE_CODE -SET LABEL='Special Case W', DESCRIPTION='Unknown. Not applied after 1986.', +SET LABEL='Special Case W', DESCRIPTION='Unknown. Not applied after 1986. ', EFFECTIVE_DATE=TO_DATE('1984-07-01', 'YYYY-MM-DD'), EXPIRY_DATE=TO_DATE('1986-08-30', 'YYYY-MM-DD'), UPDATE_USER='API_COURSE' , UPDATE_DATE=SYSTIMESTAMP WHERE EXAM_SPECIAL_CASE_CODE='W';