diff --git a/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/sql/db2.sql b/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/sql/db2.sql index 6ac56f1cebfa..6bdfe33d2ea2 100644 --- a/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/sql/db2.sql +++ b/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/sql/db2.sql @@ -2339,6 +2339,17 @@ CREATE TABLE AM_API ( UNIQUE (API_PROVIDER,API_NAME,API_VERSION,ORGANIZATION) )/ +CREATE TABLE AM_API_SEQUENCE_BACKEND ( + ID VARCHAR(60) NOT NULL, + API_UUID VARCHAR(256) NOT NULL, + REVISION_UUID VARCHAR(256) DEFAULT '0', + SEQUENCE BLOB NOT NULL, + NAME VARCHAR(256) NOT NULL, + TYPE VARCHAR(120) NOT NULL, + PRIMARY KEY (ID, API_UUID, REVISION_UUID, TYPE), + FOREIGN KEY (API_UUID) REFERENCES AM_API(API_UUID) ON DELETE CASCADE +)/ + CREATE TABLE AM_GRAPHQL_COMPLEXITY ( UUID VARCHAR(256) NOT NULL, API_ID INTEGER NOT NULL,