Skip to content

Commit

Permalink
Updates to script and type codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed Oct 10, 2023
1 parent b772eb6 commit 6858660
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,3 @@ SET
UPDATE_USER = 'IDIR/JOHCOX',
UPDATE_DATE = CURRENT_TIMESTAMP
WHERE DISTRICT_CONTACT_TYPE_CODE = 'DIST_LEARN';

INSERT INTO DISTRICT_CONTACT_TYPE_CODE (DISTRICT_CONTACT_TYPE_CODE, LABEL, DESCRIPTION, LEGACY_CODE,
DISPLAY_ORDER, EFFECTIVE_DATE, EXPIRY_DATE, CREATE_USER,
CREATE_DATE, UPDATE_USER, UPDATE_DATE, PUBLICLY_AVAIL)
VALUES ('OL_LEARN', 'Online Learning Contact', 'Online Learning Contact', 'OL', 17,
to_date('2023-06-30 00:00:00', 'YYYY-MM-DD HH24:MI:SS'),
to_date('2099-12-31 00:00:00', 'YYYY-MM-DD HH24:MI:SS'), 'IDIR/JOHCOX',
CURRENT_TIMESTAMP, 'IDIR/JOHCOX',
CURRENT_TIMESTAMP, TRUE);
11 changes: 10 additions & 1 deletion api/src/main/resources/db/migration/V1.0.1__INSTITUTE_API.sql
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,15 @@ VALUES ('EAR_CHILD', 'Early Learning Child Care', 'Early Learning Child Care', n
to_date('2019-12-20 00:00:00', 'YYYY-MM-DD HH24:MI:SS'), 'IDIR/MVILLENE',
to_date('2019-12-20 00:00:00', 'YYYY-MM-DD HH24:MI:SS'));

INSERT INTO DISTRICT_CONTACT_TYPE_CODE (DISTRICT_CONTACT_TYPE_CODE, LABEL, DESCRIPTION, LEGACY_CODE,
DISPLAY_ORDER, EFFECTIVE_DATE, EXPIRY_DATE, CREATE_USER,
CREATE_DATE, UPDATE_USER, UPDATE_DATE, PUBLICLY_AVAIL)
VALUES ('OL_LEARN', 'Online Learning Contact', 'Online Learning Contact', 'OL', 17,
to_date('2023-06-30 00:00:00', 'YYYY-MM-DD HH24:MI:SS'),
to_date('2099-12-31 00:00:00', 'YYYY-MM-DD HH24:MI:SS'), 'IDIR/JOHCOX',
CURRENT_TIMESTAMP, 'IDIR/JOHCOX',
CURRENT_TIMESTAMP, TRUE);

INSERT INTO ADDRESS_TYPE_CODE (ADDRESS_TYPE_CODE, LABEL, DESCRIPTION,
DISPLAY_ORDER, EFFECTIVE_DATE, EXPIRY_DATE, CREATE_USER,
CREATE_DATE, UPDATE_USER, UPDATE_DATE)
Expand Down Expand Up @@ -1037,4 +1046,4 @@ VALUES
to_date ('2020-01-01 00:00:00', 'YYYY-MM-DD HH24:MI:SS'),
to_date ('2099-12-31 00:00:00', 'YYYY-MM-DD HH24:MI:SS'),
'TRERICHA', to_date ('2023-03-20 00:00:00', 'YYYY-MM-DD HH24:MI:SS'),
'TRERICHA', to_date ('2023-03-20 00:00:00', 'YYYY-MM-DD HH24:MI:SS'));
'TRERICHA', to_date ('2023-03-20 00:00:00', 'YYYY-MM-DD HH24:MI:SS'));
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
--Code table load
alter session set NLS_TIMESTAMP_FORMAT = 'YYYY-MM-DD';
alter SESSION set NLS_DATE_FORMAT = 'YYYY-MM-DD';

UPDATE DISTRICT_MASTER
SET DIST_AREA_CODE = '00'
WHERE DIST_AREA_CODE = ' ';
Expand Down

0 comments on commit 6858660

Please sign in to comment.