|
|
@ -77,6 +77,23 @@ CREATE TABLE IF NOT EXISTS `WSO2CDM`.`DM_POLICY` (
|
|
|
|
ENGINE = InnoDB
|
|
|
|
ENGINE = InnoDB
|
|
|
|
DEFAULT CHARACTER SET = latin1;
|
|
|
|
DEFAULT CHARACTER SET = latin1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
|
|
|
|
-- Table `WSO2CDM`.`DM_POLICY_CORRECTIVE_ACTION`
|
|
|
|
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS `WSO2CDM`.`DM_POLICY_CORRECTIVE_ACTION` (
|
|
|
|
|
|
|
|
`ID` INT(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
|
|
|
|
`ACTION_TYPE` VARCHAR(45) NOT NULL,
|
|
|
|
|
|
|
|
`CORRECTIVE_POLICY_ID` INT(11) DEFAULT NULL,
|
|
|
|
|
|
|
|
`POLICY_ID` INT(11) NOT NULL,
|
|
|
|
|
|
|
|
PRIMARY KEY (ID),
|
|
|
|
|
|
|
|
CONSTRAINT FK_DM_POLICY_DM_POLICY_CORRECTIVE_ACTION
|
|
|
|
|
|
|
|
FOREIGN KEY (POLICY_ID)
|
|
|
|
|
|
|
|
REFERENCES DM_POLICY (ID)
|
|
|
|
|
|
|
|
ON DELETE NO ACTION
|
|
|
|
|
|
|
|
ON UPDATE NO ACTION
|
|
|
|
|
|
|
|
)ENGINE = InnoDB
|
|
|
|
|
|
|
|
DEFAULT CHARACTER SET = latin1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
-- Table `WSO2CDM`.`DM_DATE`
|
|
|
|
-- Table `WSO2CDM`.`DM_DATE`
|
|
|
|