 
 CREATE TABLE IDN_CLAIM (
   ID INTEGER NOT NULL,
-  DIALECT_ID INTEGER,
+  DIALECT_ID INTEGER NOT NULL,
   CLAIM_URI VARCHAR (255) NOT NULL,
   TENANT_ID INTEGER NOT NULL,
   PRIMARY KEY (ID),


CREATE TABLE IDN_CLAIM_MAPPED_ATTRIBUTE (
  ID INTEGER NOT NULL,
  LOCAL_CLAIM_ID INTEGER,
  USER_STORE_DOMAIN_NAME VARCHAR (255) NOT NULL,
  ATTRIBUTE_NAME VARCHAR (255) NOT NULL,
  TENANT_ID INTEGER NOT NULL,

  SAML2_SESSION_INDEX  VARCHAR(255) ,
  SAML2_AUTHN_CONTEXT_CLASS_REF  VARCHAR(255) ,
  SAML2_ASSERTION  VARCHAR(4096) ,
  PRIMARY KEY (ID))
/
CREATE SEQUENCE IDN_SAML2_ASSERTION_STORE_SEQ START WITH 1 INCREMENT BY 1 NOCACHE
/
