From 67f9042a5dafe4b7b71c45aa1229ab8d3247cb69 Mon Sep 17 00:00:00 2001 From: Osara-B Date: Thu, 23 Jan 2025 16:07:11 +0530 Subject: [PATCH] Fix SAML SSO Service Provider PostgreSQL issue --- .../resources/dbscripts/postgresql.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,