CREATE TABLE APP_ACT_COE_PAL_MC_HISTORY_RECORD (ID CHAR(36) NOT NULL,WSID CHAR(36) NOT NULL,SOURCEMETHOD NVARCHAR2(36) NOT NULL,TARGETMETHOD NVARCHAR2(36) NOT NULL,OPERATOR NVARCHAR2(36) NOT NULL,OPERATORTIME DATE NOT NULL,CONSTRAINT APP_ACT_COE_PAL_MODEL_CONVERT_HISTORY_RECORD_PK PRIMARY KEY (ID));

CREATE TABLE APP_ACT_COE_PAL_MC_HISTORY_RECORD_DETAIL (ID CHAR(36) NOT NULL,HISTORYRECORDID CHAR(36) NOT NULL,REPOSITORYID CHAR(36) NOT NULL,REPOSITORYNAME NVARCHAR2(255) NOT NULL,CONSTRAINT APP_ACT_COE_PAL_MC_HISTORY_RECORD_DETAIL_PK PRIMARY KEY (ID),CONSTRAINT APP_ACT_COE_PAL_MC_HISTORY_RECORD_DETAIL_FK FOREIGN KEY (HISTORYRECORDID) REFERENCES APP_ACT_COE_PAL_MC_HISTORY_RECORD(ID));
