CREATE TABLE grc_entity_state_ovrride (
    ENTITY_TYPE              VARCHAR2(120) ,
    FROM_STATE               VARCHAR2(120) ,
    TO_STATE                 VARCHAR2(120) ,
    STATE_OVERRIDE           VARCHAR2(4)   ,
    CREATED_BY               VARCHAR2(256)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128) ,
    CREATION_DATE            TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)      NOT NULL,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    IS_ACTIVE                NUMBER(1, 0)  ,
    IS_SEEDED                NUMBER(1, 0)  ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    ORA_SEED_SET1            VARCHAR2(4)       NOT NULL,
    ORA_SEED_SET2            VARCHAR2(4)       NOT NULL,
    ENTITY_TYPE              VARCHAR2(120) ,
    FROM_STATE               VARCHAR2(120) ,
    TO_STATE                 VARCHAR2(120) ,
    STATE_OVERRIDE           VARCHAR2(4)   ,
    CREATED_BY               VARCHAR2(256)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128) ,
    CREATION_DATE            TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)      NOT NULL,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    IS_ACTIVE                NUMBER(1, 0)  ,
    IS_SEEDED                NUMBER(1, 0)  ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    ORA_SEED_SET1            VARCHAR2(4)       NOT NULL,
    ORA_SEED_SET2            VARCHAR2(4)       NOT NULL,
    CONSTRAINT pk_grc_entity_state_ovrride PRIMARY KEY (ENTITY_TYPE, FROM_STATE, TO_STATE, ENTITY_TYPE, FROM_STATE, TO_STATE)
);
