text: create table ACT_HI_VARINST (
      ID_ varchar(64) not null,
      REV_ integer default 1,
      PROC_INST_ID_ varchar(64),
      EXECUTION_ID_ varchar(64),
      TASK_ID_ varchar(64),
      NAME_ varchar(191) not null,
      VAR_TYPE_ varchar(100),
      SCOPE_ID_ varchar(191),
      SUB_SCOPE_ID_ varchar(191),
      SCOPE_TYPE_ varchar(191),
      BYTEARRAY_ID_ varchar(64),
      DOUBLE_ double,
      LONG_ bigint,
      TEXT_ varchar(4000),
      TEXT2_ varchar(4000),
      CREATE_TIME_ datetime,
      LAST_UPDATED_TIME_ datetime,
      primary key (ID_)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
  
  create index ACT_IDX_HI_PROCVAR_NAME_TYPE on ACT_HI_VARINST(NAME_, VAR_TYPE_);
  create index ACT_IDX_HI_VAR_SCOPE_ID_TYPE on ACT_HI_VARINST(SCOPE_ID_, SCOPE_TYPE_);
  create index ACT_IDX_HI_VAR_SUB_ID_TYPE on ACT_HI_VARINST(SUB_SCOPE_ID_, SCOPE_TYPE_);
  