text: create table ACT_RU_TASK (
      ID_ varchar(64),
      REV_ integer,
      EXECUTION_ID_ varchar(64),
      PROC_INST_ID_ varchar(64),
      PROC_DEF_ID_ varchar(64),
      TASK_DEF_ID_ varchar(64),
      SCOPE_ID_ varchar(255),
      SUB_SCOPE_ID_ varchar(255),
      SCOPE_TYPE_ varchar(255),
      SCOPE_DEFINITION_ID_ varchar(255),
      NAME_ varchar(255),
      PARENT_TASK_ID_ varchar(64),
      DESCRIPTION_ varchar(4000),
      TASK_DEF_KEY_ varchar(255),
      OWNER_ varchar(255),
      ASSIGNEE_ varchar(255),
      DELEGATION_ varchar(64),
      PRIORITY_ integer,
      CREATE_TIME_ timestamp,
      DUE_DATE_ timestamp,
      CATEGORY_ varchar(255),
      SUSPENSION_STATE_ integer,
      TENANT_ID_ varchar(255) default '',
      FORM_KEY_ varchar(255),
      CLAIM_TIME_ timestamp,
      IS_COUNT_ENABLED_ boolean,
      VAR_COUNT_ integer, 
      ID_LINK_COUNT_ integer,
      SUB_TASK_COUNT_ integer,
      primary key (ID_)
  );
  
  create index ACT_IDX_TASK_CREATE on ACT_RU_TASK(CREATE_TIME_);
  create index ACT_IDX_TASK_SCOPE on ACT_RU_TASK(SCOPE_ID_, SCOPE_TYPE_);
  create index ACT_IDX_TASK_SUB_SCOPE on ACT_RU_TASK(SUB_SCOPE_ID_, SCOPE_TYPE_);
  create index ACT_IDX_TASK_SCOPE_DEF on ACT_RU_TASK(SCOPE_DEFINITION_ID_, SCOPE_TYPE_);
  
  insert into ACT_GE_PROPERTY values ('task.schema.version', '6.3.2.0', 1);