diff --git a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/postgresql.sql b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/postgresql.sql index 549e76516792..bc5d5fce11ce 100644 --- a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/postgresql.sql +++ b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/postgresql.sql @@ -1464,7 +1464,7 @@ DROP TABLE IF EXISTS IDN_SAML2_SERVICE_PROVIDER; DROP SEQUENCE IF EXISTS IDN_SAML2_SP_SEQ; CREATE SEQUENCE IDN_SAML2_SP_SEQ; CREATE TABLE IF NOT EXISTS IDN_SAML2_SERVICE_PROVIDER ( - ID INTEGER NOT NULL DEFAULT NEXTVAL('IDN_SAML2_SERVICE_PROVIDER_SEQ'), + ID INTEGER NOT NULL DEFAULT NEXTVAL('IDN_SAML2_SP_SEQ'), ISSUER VARCHAR(255) NOT NULL, DEFAULT_ASSERTION_CONSUMER_URL VARCHAR(2048) NOT NULL, NAME_ID_FORMAT VARCHAR(255) NOT NULL, @@ -1503,7 +1503,7 @@ DROP TABLE IF EXISTS IDN_SAML2_SP_PROPERTIES; DROP SEQUENCE IF EXISTS IDN_SAML2_SP_PROPERTY_SEQ; CREATE SEQUENCE IDN_SAML2_SP_PROPERTY_SEQ; CREATE TABLE IF NOT EXISTS IDN_SAML2_SP_PROPERTIES ( - ID INTEGER NOT NULL DEFAULT NEXTVAL('IDN_SAML2_SP_PROPERTIES_SEQ'), + ID INTEGER NOT NULL DEFAULT NEXTVAL('IDN_SAML2_SP_PROPERTY_SEQ'), PROPERTY_NAME VARCHAR(255) NOT NULL, PROPERTY_VALUE VARCHAR(2048) NOT NULL, SP_ID INTEGER NOT NULL,