Refactored oracle DB script

revert-70aa11f8
Dileesha Rajapakse 9 years ago
parent 123ea228ad
commit 8c1d418e44

@ -129,7 +129,7 @@ WHEN (NEW.ID IS NULL)
END;
/
CREATE TABLE DM_ENROLMENT_OP_MAP (
CREATE TABLE DM_ENROLMENT_OP_MAPPING (
ID NUMBER(10) NOT NULL,
ENROLMENT_ID NUMBER(10) NOT NULL,
OPERATION_ID NUMBER(10) NOT NULL,
@ -146,7 +146,7 @@ CREATE SEQUENCE DM_ENROLMENT_OP_MAP_seq START WITH 1 INCREMENT BY 1 NOCACHE
/
CREATE OR REPLACE TRIGGER DM_ENROLMENT_OP_MAP_seq_tr
BEFORE INSERT
ON DM_ENROLMENT_op_map
ON DM_ENROLMENT_OP_MAPPING
REFERENCING NEW AS NEW
FOR EACH ROW
WHEN (NEW.ID IS NULL)

Loading…
Cancel
Save