Fixed MySQL script

merge-requests/7/head
Chatura Dilan 8 years ago
parent 69ace64091
commit dd07101e3d

@ -69,6 +69,7 @@ CREATE TABLE IF NOT EXISTS `APPM_LIFECYCLE_STATE` (
CREATE TABLE IF NOT EXISTS `APPM_APPLICATION` ( CREATE TABLE IF NOT EXISTS `APPM_APPLICATION` (
`ID` INT NOT NULL AUTO_INCREMENT, `ID` INT NOT NULL AUTO_INCREMENT,
`UUID` VARCHAR(100) NOT NULL, `UUID` VARCHAR(100) NOT NULL,
`IDENTIFIER` VARCHAR(255) NULL,
`NAME` VARCHAR(100) NOT NULL, `NAME` VARCHAR(100) NOT NULL,
`SHORT_DESCRIPTION` VARCHAR(255) NULL, `SHORT_DESCRIPTION` VARCHAR(255) NULL,
`DESCRIPTION` TEXT NULL, `DESCRIPTION` TEXT NULL,
@ -79,6 +80,9 @@ CREATE TABLE IF NOT EXISTS `APPM_APPLICATION` (
`CREATED_BY` VARCHAR(255) NULL, `CREATED_BY` VARCHAR(255) NULL,
`CREATED_AT` DATETIME NOT NULL, `CREATED_AT` DATETIME NOT NULL,
`MODIFIED_AT` DATETIME NULL, `MODIFIED_AT` DATETIME NULL,
`IS_FREE` TINYINT(1) NULL,
`PAYMENT_CURRENCY` VARCHAR(45) NULL,
`PAYMENT_PRICE` DECIMAL(10,2) NULL,
`APPLICATION_CATEGORY_ID` INT NOT NULL, `APPLICATION_CATEGORY_ID` INT NOT NULL,
`PLATFORM_APPLICATION_MAPPING_ID` INT NOT NULL, `PLATFORM_APPLICATION_MAPPING_ID` INT NOT NULL,
`APPM_LIFECYCLE_STATE_ID` INT NOT NULL, `APPM_LIFECYCLE_STATE_ID` INT NOT NULL,
@ -307,7 +311,7 @@ CREATE TABLE IF NOT EXISTS `APPM_VISIBILITY` (
-- Table `APPM_SUBSCRIPTION_PROPERTIES` -- Table `APPM_SUBSCRIPTION_PROPERTIES`
-- ----------------------------------------------------- -- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `APPM_SUBSCRIPTION_PROPERTIES` ( CREATE TABLE IF NOT EXISTS `APPM_SUBSCRIPTION_PROPERTIES` (
`PROP_KEY` TEXT NOT NULL, `PROP_KEY` VARCHAR(255) NOT NULL,
`PROP_VALUE` TEXT NULL, `PROP_VALUE` TEXT NULL,
`APPM_SUBSCRIPTION_ID` INT NOT NULL, `APPM_SUBSCRIPTION_ID` INT NOT NULL,
PRIMARY KEY (`PROP_KEY`, `APPM_SUBSCRIPTION_ID`), PRIMARY KEY (`PROP_KEY`, `APPM_SUBSCRIPTION_ID`),

Loading…
Cancel
Save