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 185115350c3b..e11aeefcfb7f 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 @@ -1671,7 +1671,7 @@ CREATE TABLE IDN_RULE ( IS_ACTIVE BOOLEAN DEFAULT TRUE, TENANT_ID INTEGER NOT NULL, VERSION VARCHAR(15) NOT NULL, - PRIMARY KEY (ID) + PRIMARY KEY (ID), UNIQUE (UUID) );