@ -375,6 +375,8 @@ CREATE TABLE IF NOT EXISTS AP_VPP_ASSOCIATION (
TENANT_ID INT NOT NULL,
ASSOCIATION_TYPE VARCHAR(255) NOT NULL,
PRICING_PARAMS VARCHAR(255) NULL,
CREATED_TIME BIGINT NULL,
LAST_UPDATED_TIME BIGINT NULL,
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_VPP_USER_fk FOREIGN KEY (USER_ID) REFERENCES AP_VPP_USER (ID) ON DELETE CASCADE ON UPDATE CASCADE
@ -393,6 +393,8 @@ CREATE TABLE AP_VPP_ASSOCIATION (
USER_ID INT,
@ -323,6 +323,8 @@ CREATE TABLE IF NOT EXISTS AP_VPP_ASSOCIATION (
@ -462,6 +462,8 @@ CREATE TABLE AP_VPP_ASSOCIATION (
ASSOCIATION_TYPE VARCHAR2(255) NOT NULL,
PRICING_PARAMS VARCHAR2(255) NULL,
CREATED_TIME NUMBER(19) NULL,
LAST_UPDATED_TIME NUMBER(19) NULL,
CONSTRAINT AP_VPP_ASSETS_fk FOREIGN KEY (ASSET_ID) REFERENCES AP_ASSETS (ID) ON DELETE CASCADE,
CONSTRAINT AP_VPP_VPP_USER_fk FOREIGN KEY (USER_ID) REFERENCES AP_VPP_USER (ID) ON DELETE CASCADE
@ -401,6 +401,8 @@ CREATE TABLE IF NOT EXISTS AP_VPP_ASSOCIATION (
TENANT_ID INTEGER NOT NULL,