|
|
@ -279,6 +279,38 @@ CREATE TABLE IF NOT EXISTS AP_SCHEDULED_SUBSCRIPTION(
|
|
|
|
REFERENCES AP_APP_RELEASE (UUID) ON DELETE NO ACTION ON UPDATE NO ACTION
|
|
|
|
REFERENCES AP_APP_RELEASE (UUID) ON DELETE NO ACTION ON UPDATE NO ACTION
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
|
|
|
|
-- Table AP_IDENTITY_SERVER
|
|
|
|
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER (
|
|
|
|
|
|
|
|
ID INTEGER NOT NULL AUTO_INCREMENT,
|
|
|
|
|
|
|
|
NAME VARCHAR(255) NOT NULL,
|
|
|
|
|
|
|
|
DESCRIPTION VARCHAR(255) NOT NULL,
|
|
|
|
|
|
|
|
URL VARCHAR(255) NOT NULL,
|
|
|
|
|
|
|
|
SP_APPS_URI VARCHAR(255) NOT NULL,
|
|
|
|
|
|
|
|
SP_APPS_API VARCHAR(255) NULL,
|
|
|
|
|
|
|
|
TENANT_ID INT NOT NULL,
|
|
|
|
|
|
|
|
USERNAME VARCHAR(255) NOT NULL,
|
|
|
|
|
|
|
|
PASSWORD VARCHAR(255) NOT NULL
|
|
|
|
|
|
|
|
PRIMARY KEY(ID)
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
|
|
|
|
-- Table AP_IS_SP_APP_MAPPING
|
|
|
|
|
|
|
|
-- -----------------------------------------------------;
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS AP_IS_SP_APP_MAPPING (
|
|
|
|
|
|
|
|
ID INTEGER NOT NULL AUTO_INCREMENT,
|
|
|
|
|
|
|
|
SP_UID VARCHAR(255) NOT NULL,
|
|
|
|
|
|
|
|
AP_APP_ID INT NOT NULL,
|
|
|
|
|
|
|
|
IS_ID INT NOT NULL,
|
|
|
|
|
|
|
|
TENANT_ID INT NOT NULL,
|
|
|
|
|
|
|
|
PRIMARY KEY(ID),
|
|
|
|
|
|
|
|
CONSTRAINT AP_IS_SP_APP_MAPPING_AP_APP_ID_fk FOREIGN KEY (AP_APP_ID) REFERENCES AP_APP (ID)
|
|
|
|
|
|
|
|
ON DELETE NO ACTION ON UPDATE NO ACTION,
|
|
|
|
|
|
|
|
CONSTRAINT AP_IS_SP_APP_MAPPING_AP_IDENTITY_SERVER_ID_fk FOREIGN KEY (IS_ID) REFERENCES AP_IDENTITY_SERVER (ID)
|
|
|
|
|
|
|
|
ON DELETE NO ACTION ON UPDATE NO ACTION
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
-- Table AP_APP_FAVOURITES
|
|
|
|
-- Table AP_APP_FAVOURITES
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
-- -----------------------------------------------------
|
|
|
|