@ -19,7 +19,7 @@ CREATE TABLE IF NOT EXISTS AP_APP(
-- -----------------------------------------------------
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS AP_APP_RELEASE (
CREATE TABLE IF NOT EXISTS AP_APP_RELEASE (
ID INTEGER NOT NULL AUTO_INCREMENT ,
ID INTEGER NOT NULL AUTO_INCREMENT ,
DESCRIPTION VARCHAR( 200 ) NOT NULL ,
DESCRIPTION TEXT NOT NULL ,
VERSION VARCHAR ( 70 ) NOT NULL ,
VERSION VARCHAR ( 70 ) NOT NULL ,
TENANT_ID INTEGER NOT NULL ,
TENANT_ID INTEGER NOT NULL ,
UUID VARCHAR ( 200 ) NOT NULL ,
UUID VARCHAR ( 200 ) NOT NULL ,
@ -34,7 +34,7 @@ CREATE TABLE IF NOT EXISTS AP_APP_RELEASE(
SC_3_LOCATION VARCHAR ( 100 ) NULL DEFAULT NULL ,
SC_3_LOCATION VARCHAR ( 100 ) NULL DEFAULT NULL ,
APP_HASH_VALUE VARCHAR ( 1000 ) NOT NULL ,
APP_HASH_VALUE VARCHAR ( 1000 ) NOT NULL ,
SHARED_WITH_ALL_TENANTS BOOLEAN NOT NULL DEFAULT FALSE ,
SHARED_WITH_ALL_TENANTS BOOLEAN NOT NULL DEFAULT FALSE ,
APP_META_INFO VARCHAR( 150 ) NULL DEFAULT NULL ,
APP_META_INFO TEXT NULL DEFAULT NULL ,
SUPPORTED_OS_VERSIONS VARCHAR ( 45 ) NOT NULL ,
SUPPORTED_OS_VERSIONS VARCHAR ( 45 ) NOT NULL ,
RATING DOUBLE NULL DEFAULT NULL ,
RATING DOUBLE NULL DEFAULT NULL ,
CURRENT_STATE VARCHAR ( 45 ) NOT NULL ,
CURRENT_STATE VARCHAR ( 45 ) NOT NULL ,
@ -328,4 +328,4 @@ CREATE TABLE IF NOT EXISTS AP_VPP_ASSOCIATION (
PRIMARY KEY ( ID ) ,
PRIMARY KEY ( ID ) ,
CONSTRAINT AP_VPP_ASSETS_fk FOREIGN KEY ( ASSET_ID ) REFERENCES AP_ASSETS ( ID ) ON DELETE CASCADE ON UPDATE CASCADE ,
CONSTRAINT AP_VPP_ASSETS_fk FOREIGN KEY ( ASSET_ID ) REFERENCES AP_ASSETS ( ID ) ON DELETE CASCADE ON UPDATE CASCADE ,
CONSTRAINT AP_VPP_VPP_USER_fk FOREIGN KEY ( USER_ID ) REFERENCES AP_VPP_USER ( ID ) ON DELETE CASCADE ON UPDATE CASCADE
CONSTRAINT AP_VPP_VPP_USER_fk FOREIGN KEY ( USER_ID ) REFERENCES AP_VPP_USER ( ID ) ON DELETE CASCADE ON UPDATE CASCADE
) ;
) ;