|
|
@ -278,3 +278,17 @@ CREATE TABLE IF NOT EXISTS AP_SCHEDULED_SUBSCRIPTION(
|
|
|
|
FOREIGN KEY (APPLICATION_UUID)
|
|
|
|
FOREIGN KEY (APPLICATION_UUID)
|
|
|
|
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_APP_FAVOURITES
|
|
|
|
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS AP_APP_FAVOURITES(
|
|
|
|
|
|
|
|
ID INTEGER NOT NULL AUTO_INCREMENT,
|
|
|
|
|
|
|
|
AP_APP_ID INTEGER NOT NULL,
|
|
|
|
|
|
|
|
USER_NAME VARCHAR(100) NOT NULL,
|
|
|
|
|
|
|
|
TENANT_ID INTEGER NOT NULL,
|
|
|
|
|
|
|
|
PRIMARY KEY(ID),
|
|
|
|
|
|
|
|
CONSTRAINT AP_APP_FAVOURITES_AP_APP_ID_fk
|
|
|
|
|
|
|
|
FOREIGN KEY (AP_APP_ID)
|
|
|
|
|
|
|
|
REFERENCES AP_APP (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
|
|
|
|
|
|
|
|
);
|
|
|
|