|
|
@ -401,6 +401,8 @@ CREATE TABLE IF NOT EXISTS AP_VPP_ASSOCIATION (
|
|
|
|
TENANT_ID INTEGER NOT NULL,
|
|
|
|
TENANT_ID INTEGER NOT NULL,
|
|
|
|
ASSOCIATION_TYPE VARCHAR(255) NOT NULL,
|
|
|
|
ASSOCIATION_TYPE VARCHAR(255) NOT NULL,
|
|
|
|
PRICING_PARAMS VARCHAR(255) NULL,
|
|
|
|
PRICING_PARAMS VARCHAR(255) NULL,
|
|
|
|
|
|
|
|
CREATED_TIME BIGINT NULL,
|
|
|
|
|
|
|
|
LAST_UPDATED_TIME BIGINT NULL,
|
|
|
|
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
|
|
|
|