Error When Creating Index IDX_UM_PERMISSION_ID_LOWER_UM_USER_NAME_UM_TENANT_ID #22449
Labels
Fixed/7.1.0
identity-core
Identity runtime and core development
Oracle/RAC
issues related to oracle RAC Database
Priority/Highest
Severity/Critical
Team/Identity Server Core
Type/Bug
Description
The database script for oracle rac attempts to create a unique index on the UM_SYSTEM_USER table using a column (UM_PERMISSION_ID) that does not exist in the table. This results in the following error during script execution:
Steps to Reproduce
Execute the following CREATE TABLE statement to create the UM_SYSTEM_USER table:CREATE TABLE UM_SYSTEM_USER (
UM_ID INTEGER,
UM_USER_NAME VARCHAR(255) NOT NULL,
UM_USER_PASSWORD VARCHAR(255) NOT NULL,
UM_SALT_VALUE VARCHAR(31),
UM_REQUIRE_CHANGE NUMBER(1) DEFAULT 0,
UM_CHANGED_TIME TIMESTAMP NOT NULL,
UM_TENANT_ID INTEGER DEFAULT 0,
PRIMARY KEY (UM_ID, UM_TENANT_ID)
);
Run the following CREATE UNIQUE INDEX statement:
CREATE UNIQUE INDEX IDX_UM_PERMISSION_ID_LOWER_UM_USER_NAME_UM_TENANT_ID
ON UM_SYSTEM_USER(UM_PERMISSION_ID, LOWER(UM_USER_NAME), UM_TENANT_ID);
Observe the error:
Version
IS 7.1.0-m8
Environment Details (with versions)
Oracle rac 23ai
The text was updated successfully, but these errors were encountered: