text: create table FLW_RU_BATCH (
      ID_ varchar(64) not null,
      REV_ integer,
      TYPE_ varchar(64) not null,
      SEARCH_KEY_ varchar(255),
      SEARCH_KEY2_ varchar(255),
      CREATE_TIME_ datetime(3) not null,
      COMPLETE_TIME_ datetime(3),
      STATUS_ varchar(255),
      BATCH_DOC_ID_ varchar(64),
      TENANT_ID_ varchar(255) default '',
      primary key (ID_)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
  
  create table FLW_RU_BATCH_PART (
      ID_ varchar(64) not null,
      REV_ integer,
      BATCH_ID_ varchar(64),
      TYPE_ varchar(64) not null,
      SCOPE_ID_ varchar(64),
      SUB_SCOPE_ID_ varchar(64),
      SCOPE_TYPE_ varchar(64),
      SEARCH_KEY_ varchar(255),
      SEARCH_KEY2_ varchar(255),
      CREATE_TIME_ datetime(3) not null,
      COMPLETE_TIME_ datetime(3),
      STATUS_ varchar(255),
      RESULT_DOC_ID_ varchar(64),
      TENANT_ID_ varchar(255) default '',
      primary key (ID_)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
  
  create index FLW_IDX_BATCH_PART on FLW_RU_BATCH_PART(BATCH_ID_);
  
  alter table FLW_RU_BATCH_PART
      add constraint FLW_FK_BATCH_PART_PARENT
      foreign key (BATCH_ID_)
      references FLW_RU_BATCH (ID_);
  
  insert into ACT_GE_PROPERTY values ('batch.schema.version', '6.7.1.0', 1);
  