|
|
@ -222,11 +222,11 @@ CREATE TABLE IF NOT EXISTS DM_DEVICE_POLICY_APPLIED (
|
|
|
|
POLICY_ID INTEGER NOT NULL ,
|
|
|
|
POLICY_ID INTEGER NOT NULL ,
|
|
|
|
POLICY_CONTENT BYTEA NULL ,
|
|
|
|
POLICY_CONTENT BYTEA NULL ,
|
|
|
|
TENANT_ID INTEGER NOT NULL,
|
|
|
|
TENANT_ID INTEGER NOT NULL,
|
|
|
|
APPLIED INTEGER[1] NULL ,
|
|
|
|
APPLIED BOOLEAN NULL ,
|
|
|
|
CREATED_TIME TIMESTAMP NULL ,
|
|
|
|
CREATED_TIME TIMESTAMP NULL ,
|
|
|
|
UPDATED_TIME TIMESTAMP NULL ,
|
|
|
|
UPDATED_TIME TIMESTAMP NULL ,
|
|
|
|
APPLIED_TIME TIMESTAMP NULL ,
|
|
|
|
APPLIED_TIME TIMESTAMP NULL ,
|
|
|
|
CONSTRAINT FK_DM_POLICY_DEVCIE_APPLIED
|
|
|
|
CONSTRAINT FK_DM_POLICY_DEVICE_APPLIED
|
|
|
|
FOREIGN KEY (DEVICE_ID )
|
|
|
|
FOREIGN KEY (DEVICE_ID )
|
|
|
|
REFERENCES DM_DEVICE (ID )
|
|
|
|
REFERENCES DM_DEVICE (ID )
|
|
|
|
ON DELETE NO ACTION
|
|
|
|
ON DELETE NO ACTION
|
|
|
|