|
|
@ -278,4 +278,18 @@ CREATE TABLE AP_SCHEDULED_SUBSCRIPTION(
|
|
|
|
CONSTRAINT fk_AP_SCHEDULED_SUBSCRIPTION_AP_APP_RELEASE
|
|
|
|
CONSTRAINT fk_AP_SCHEDULED_SUBSCRIPTION_AP_APP_RELEASE
|
|
|
|
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 IDENTITY,
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
);
|
|
|
|