CREATE TABLE hey_common_staging_chg_log (
    LOAD_CHANGE_ID               NUMBER(18, 0) ,
    LOAD_ROW_ID                  NUMBER(18, 0)     NOT NULL,
    LOADER_MAP_ID                NUMBER(18, 0)     NOT NULL,
    LOAD_ELEMENT_ATTRIBUTE_ID    NUMBER(18, 0) ,
    ORIGINAL_TEXT_VALUE          VARCHAR2(4000),
    CHANGED_TEXT_VALUE           VARCHAR2(4000),
    TRANSFORMED_FLAG             VARCHAR2(4)       NOT NULL,
    LOG_DATETIME                 TIMESTAMP(6)  ,
    CREATION_DATE                TIMESTAMP(6)      NOT NULL,
    CREATED_BY                   VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE             TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_LOGIN            VARCHAR2(128) ,
    LAST_UPDATED_BY              VARCHAR2(256)     NOT NULL,
    OBJECT_VERSION_NUMBER        NUMBER(9, 0)      NOT NULL,
    LOAD_CHANGE_ID               NUMBER(18, 0) ,
    LOAD_ROW_ID                  NUMBER(18, 0)     NOT NULL,
    LOADER_MAP_ID                NUMBER(18, 0)     NOT NULL,
    ORIGINAL_TEXT_VALUE          VARCHAR2(4000),
    LOG_DATETIME                 TIMESTAMP(6)  ,
    CREATION_DATE                TIMESTAMP(6)      NOT NULL,
    CREATED_BY                   VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE             TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_LOGIN            VARCHAR2(128) ,
    LAST_UPDATED_BY              VARCHAR2(256)     NOT NULL,
    OBJECT_VERSION_NUMBER        NUMBER(9, 0)      NOT NULL,
    LOAD_ELEMENT_ATTRIBUTE_ID    NUMBER(18, 0) ,
    CHANGED_TEXT_VALUE           VARCHAR2(4000),
    TRANSFORMED_FLAG             VARCHAR2(4)       NOT NULL,
    CONSTRAINT pk_hey_common_staging_chg_log PRIMARY KEY (LOAD_CHANGE_ID, LOAD_CHANGE_ID)
);
