|
|
@ -397,10 +397,7 @@ CREATE TABLE DM_DEVICE_POLICY_APPLIED (
|
|
|
|
CONSTRAINT PK_DM_POLICY_DEV_APPLIED PRIMARY KEY (ID) ,
|
|
|
|
CONSTRAINT PK_DM_POLICY_DEV_APPLIED PRIMARY KEY (ID) ,
|
|
|
|
CONSTRAINT FK_DM_POLICY_DEV_APPLIED
|
|
|
|
CONSTRAINT FK_DM_POLICY_DEV_APPLIED
|
|
|
|
FOREIGN KEY (DEVICE_ID )
|
|
|
|
FOREIGN KEY (DEVICE_ID )
|
|
|
|
REFERENCES DM_DEVICE (ID ),
|
|
|
|
REFERENCES DM_DEVICE (ID )
|
|
|
|
CONSTRAINT FK_DM_POLICY_DEV_APPLY_POLICY
|
|
|
|
|
|
|
|
FOREIGN KEY (POLICY_ID )
|
|
|
|
|
|
|
|
REFERENCES DM_POLICY (ID )
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
/
|
|
|
|
/
|
|
|
|
-- Generate ID using sequence and trigger
|
|
|
|
-- Generate ID using sequence and trigger
|
|
|
@ -503,10 +500,7 @@ CREATE TABLE DM_POLICY_COMPLIANCE_STATUS (
|
|
|
|
LAST_REQUESTED_TIME TIMESTAMP(0) NULL,
|
|
|
|
LAST_REQUESTED_TIME TIMESTAMP(0) NULL,
|
|
|
|
LAST_FAILED_TIME TIMESTAMP(0) NULL,
|
|
|
|
LAST_FAILED_TIME TIMESTAMP(0) NULL,
|
|
|
|
ATTEMPTS NUMBER(10) NULL,
|
|
|
|
ATTEMPTS NUMBER(10) NULL,
|
|
|
|
CONSTRAINT PK_DM_POLICY_COMP_STATUS PRIMARY KEY (ID),
|
|
|
|
CONSTRAINT PK_DM_POLICY_COMP_STATUS PRIMARY KEY (ID)
|
|
|
|
CONSTRAINT FK_POLICY_COMP_STATUS_POLICY
|
|
|
|
|
|
|
|
FOREIGN KEY (POLICY_ID)
|
|
|
|
|
|
|
|
REFERENCES DM_POLICY (ID)
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
/
|
|
|
|
/
|
|
|
|
-- Generate ID using sequence and trigger
|
|
|
|
-- Generate ID using sequence and trigger
|
|
|
|