|
|
|
@ -96,6 +96,9 @@ CREATE TABLE IF NOT EXISTS DM_ENROLMENT_OP_MAPPING (
|
|
|
|
|
CREATED_TIMESTAMP INTEGER NOT NULL,
|
|
|
|
|
UPDATED_TIMESTAMP INTEGER NOT NULL,
|
|
|
|
|
PRIMARY KEY (ID),
|
|
|
|
|
KEY `fk_dm_device_operation_mapping_operation` (`OPERATION_ID`),
|
|
|
|
|
KEY `IDX_DM_ENROLMENT_OP_MAPPING` (`ENROLMENT_ID`,`OPERATION_ID`),
|
|
|
|
|
KEY `ID_DM_ENROLMENT_OP_MAPPING_UPDATED_TIMESTAMP` (`UPDATED_TIMESTAMP`),
|
|
|
|
|
CONSTRAINT fk_dm_device_operation_mapping_device FOREIGN KEY (ENROLMENT_ID) REFERENCES
|
|
|
|
|
DM_ENROLMENT (ID) ON DELETE NO ACTION ON UPDATE NO ACTION,
|
|
|
|
|
CONSTRAINT fk_dm_device_operation_mapping_operation FOREIGN KEY (OPERATION_ID) REFERENCES
|
|
|
|
|