Skip to content

Commit

Permalink
Fix multi-dc oracle 23 script issues
Browse files Browse the repository at this point in the history
  • Loading branch information
HeshanSudarshana committed Apr 2, 2024
1 parent 1a727dd commit 8a2cbd6
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ CREATE TABLE IDP_AUTHENTICATOR (
TENANT_ID INTEGER,
IDP_ID INTEGER,
NAME VARCHAR(255) NOT NULL,
IS_ENABLED CHAR (1) DEFAULT '1',
IS_ENABLED BOOLEAN DEFAULT '1',
DISPLAY_NAME VARCHAR(255),
PRIMARY KEY (ID),
UNIQUE (TENANT_ID, IDP_ID, NAME),
Expand All @@ -582,7 +582,7 @@ CREATE TABLE IDP_AUTHENTICATOR_PROPERTY (
AUTHENTICATOR_ID INTEGER,
PROPERTY_KEY VARCHAR(255) NOT NULL,
PROPERTY_VALUE VARCHAR(2047),
IS_SECRET CHAR (1) DEFAULT '0',
IS_SECRET BOOLEAN DEFAULT '0',
PRIMARY KEY (ID),
UNIQUE (TENANT_ID, AUTHENTICATOR_ID, PROPERTY_KEY),
FOREIGN KEY (AUTHENTICATOR_ID) REFERENCES IDP_AUTHENTICATOR(ID) ON DELETE CASCADE)
Expand All @@ -592,9 +592,9 @@ CREATE TABLE IDP_PROVISIONING_CONFIG (
TENANT_ID INTEGER,
IDP_ID INTEGER,
PROVISIONING_CONNECTOR_TYPE VARCHAR(255) NOT NULL,
IS_ENABLED CHAR (1) DEFAULT '0',
IS_BLOCKING CHAR (1) DEFAULT '0',
IS_RULES_ENABLED CHAR (1) DEFAULT '0',
IS_ENABLED BOOLEAN DEFAULT '0',
IS_BLOCKING BOOLEAN DEFAULT '0',
IS_RULES_ENABLED BOOLEAN DEFAULT '0',
PRIMARY KEY (ID),
UNIQUE (TENANT_ID, IDP_ID, PROVISIONING_CONNECTOR_TYPE),
FOREIGN KEY (IDP_ID) REFERENCES IDP(ID) ON DELETE CASCADE)
Expand All @@ -607,7 +607,7 @@ CREATE TABLE IDP_PROV_CONFIG_PROPERTY (
PROPERTY_VALUE VARCHAR(2048),
PROPERTY_BLOB_VALUE BLOB,
PROPERTY_TYPE CHAR(32) NOT NULL,
IS_SECRET CHAR (1) DEFAULT '0',
IS_SECRET BOOLEAN DEFAULT '0',
PRIMARY KEY (ID),
UNIQUE (TENANT_ID, PROVISIONING_CONFIG_ID, PROPERTY_KEY),
FOREIGN KEY (PROVISIONING_CONFIG_ID) REFERENCES IDP_PROVISIONING_CONFIG(ID) ON DELETE CASCADE)
Expand Down Expand Up @@ -716,7 +716,7 @@ CREATE TABLE WF_WORKFLOW_ASSOCIATION(
EVENT_ID VARCHAR2(45),
ASSOC_CONDITION VARCHAR2 (2000),
WORKFLOW_ID VARCHAR2 (45),
IS_ENABLED CHAR (1) DEFAULT '1',
IS_ENABLED BOOLEAN DEFAULT '1',
TENANT_ID INTEGER DEFAULT -1,
PRIMARY KEY(ID),
FOREIGN KEY (WORKFLOW_ID) REFERENCES WF_WORKFLOW(ID)ON DELETE CASCADE)
Expand Down

0 comments on commit 8a2cbd6

Please sign in to comment.