Files
alfresco-community-repo/config/alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/Schema-Reference-ACT.xml
Dave Ward 0d57d67bec Merged V4.1-BUG-FIX to HEAD
39199: Fixed ALF-13252 "Share - Added aspects are not shown in folder properties"
   39235: Merged BRANCHES/DEV/BELARUS/V4.1-BUG-FIX-2012_07_09 to BRANCHES/DEV/V4.1-BUG-FIX:
      38994: ALF-14983 : Upgrade scripts to increase column sizes for Activiti
      39052: ALF-14983 : Upgrade scripts to increase column sizes for Activiti
      (note: reviewed and merged, including required merge ghanges to .sql, .properties, .xml for schema number update 5111 -> 5112)
   39239: ALF-14111 CLONE - 60k sites: Groups are not displayed in all supported browsers when 60k sites and 60 groups in the system
      - Code works on 3.4 as it includes a fix for ALF-7604 (3.4.2).
      - V4.1 should also have this fix (but did not) as there was a clone ALF-7734 (of ALF-7604) applied to Team that
        was merged to HEAD (and hence 4.x). The merge to HEAD failed to include this fix.
      - Putting this code back into 4.1.1 - this should correct this issue (ALF-14111) as the code will no longer have to sort
        240,000 groups when there are 60,000 user created groups. 
   39257: ALF-10730: Fall back on parentType for icons if necessary
   39307: Fix for ALF-14799 - jsonUtils.toJSONString() outputs long values as floating-point numbers
    - Updated to latest Surf libs rev 1101 which fixes this issue
   39310: Merged BRANCHES/DEV/BELARUS/V4.1-BUG-FIX-2012_07_09 to BRANCHES/DEV/V4.1-BUG-FIX
      39071: ALF-13767: User error messages in org.alfresco.repo.web.scripts are all hardcoded and cannot be localised
             Modify Java backed webscripts to return localised messages to model.
   39345: Impl from Shane Frensley to fix ALF-3484 - Alfresco should show meaningful error message when deleted item recovery fails.
   39362: RECORD ONLY MERGE from V3.4-BUG-FIX to V4.1-BUG-FIX
      39360: <<DO NOT MERGE TO V4.1-BUG-FIX>>
      Remove the creation of OSX installers - we will never need them any more since they are neither distributed not trialled
   39416: Fix for ALF-14466 Share Document Library breaks for obscure control character in document title
   39594: Minor formatting tweak for coding standards consistency.
   39622: ALF-9254: Merged V3.4-BUG-FIX (3.4.11) to V4.1-BUG-FIX (4.1.1)
      39605: ALF-15227 3.4 CLONE - Alfresco incapable of previewing text files including non Western European characters without custom configuration 
         - transformer.PdfBox.TextToPdf no longer does txt to pdf transform as OOo/JOD handles non western chars better and are not that
           much slower even for western encodings
           - It still does csv and xml to pdf
           - transformer.complex.Text.Pdf2swf now has a wild card first transformer for text to pdf (rather than transformer.PdfBox.TextToPdf)
             The 2nd transform is still transformer.Pdf2swf. As a result transformer.PdfBox.TextToPdf or the OOo/JOD transformers may be used.
           - transformer.complex.Archive.Pdf2swf now has a wild card first transformer for the same reason.
           - transformer.complex.Text.Image now has a wild card first transformer for the same reason.
         - Allow transformer config element supportedTransformations to wild card source or target mimetype
   39692: ALF-9254: Merged V3.4-BUG-FIX (3.4.11) to V4.1-BUG-FIX (4.1.1)
      39679: ALF-15227 3.4 CLONE - Alfresco incapable of previewing text files including non Western European characters without custom configuration 
         - Fix build failures (not sure about RecordsManagementAuditServiceImplTest)
         - Reset some of the text to pdf / swf limits now OOo or JOD is used rather than PDFBox
   39719: ALF-13037: Ensure that doclist is refreshed when on edit properties triggered folder rule that causes documents to be moved
   39734: Improvements to reduce need to index Surf component XML files - parent config folders already dealt with, but this removes the burden of indexing the XML content. (ALF-10826)
   39740: Merged BRANCHES/V4.1 to BRANCHES/DEV/V4.1-BUG-FIX: (record-only - already present)
      39734: Improvements to reduce need to index Surf component XML files - parent config folders already dealt with, but this removes the burden of indexing the XML content.
   39779: Merged V3.4-BUG-FIX to V4.1-BUG-FIX (RECORD ONLY)
      39774: ALF-15262: Merged V4.0-BUG-FIX to V3.4-BUG-FIX
         35738: Merged HEAD to BRANCHES/DEV/V4.0-BUG-FIX:
            35737: Fix for ALF-11923. Linked rules can't be deleted if source folder was deleted.
         35751: Addendum to fix for ALF-11923. Fixing failing test case by tightening up delete behaviour.
            I also fixed the @since annotations from Odin to 3.4.11
      39777: ALF-15262: Fixed compilation error by re-introducing typo in method name!
   39784: Merged BRANCHES/V4.1 to BRANCHES/DEV/V4.1-BUG-FIX (RECORD ONLY)
      39775: ALF-15271: "Site Content" dashlet shows all documents from all the sites in Alfresco Share
   39831: Merged V3.4-BUG-FIX to V4.1-BUG-FIX (4.1.1)
      39015: Merged in upgrade of truezip to 7.5.5 see ALF-14247
      39361: Added truezip-swing jar.  It seems that Truezip needs Swing :(


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@40265 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-08-09 16:37:33 +00:00

1323 lines
45 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.alfresco.org/repo/db-schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.alfresco.org/repo/db-schema db-schema.xsd" name="" dbprefix="act_" version="5026">
<validators>
<validator class="org.alfresco.util.schemacomp.validator.NameValidator">
<properties>
<property name="pattern">.*</property>
</properties>
</validator>
<validator class="org.alfresco.util.schemacomp.validator.SchemaVersionValidator"/>
</validators>
<objects>
<table name="ACT_GE_BYTEARRAY">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="REV_" order="2">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="NAME_" order="3">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DEPLOYMENT_ID_" order="4">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="BYTES_" order="5">
<type>longblob</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys>
<foreignkey name="ACT_FK_BYTEARR_DEPL">
<localcolumn>DEPLOYMENT_ID_</localcolumn>
<targettable>ACT_RE_DEPLOYMENT</targettable>
<targetcolumn>ID_</targetcolumn>
</foreignkey>
</foreignkeys>
<indexes>
<index name="ACT_FK_BYTEARR_DEPL" unique="false">
<columnnames>
<columnname>DEPLOYMENT_ID_</columnname>
</columnnames>
</index>
</indexes>
</table>
<table name="ACT_GE_PROPERTY">
<columns>
<column name="NAME_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="VALUE_" order="2">
<type>varchar(300)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="REV_" order="3">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">NAME_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes/>
</table>
<table name="ACT_HI_ATTACHMENT">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="REV_" order="2">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="USER_ID_" order="3">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="NAME_" order="4">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DESCRIPTION_" order="5">
<type>varchar(4000)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TYPE_" order="6">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TASK_ID_" order="7">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROC_INST_ID_" order="8">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="URL_" order="9">
<type>varchar(4000)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="CONTENT_ID_" order="10">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes/>
</table>
<table name="ACT_HI_COMMENT">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TYPE_" order="2">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TIME_" order="3">
<type>datetime</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="USER_ID_" order="4">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TASK_ID_" order="5">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROC_INST_ID_" order="6">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="ACTION_" order="7">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="MESSAGE_" order="8">
<type>varchar(4000)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="FULL_MSG_" order="9">
<type>longblob</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes/>
</table>
<table name="ACT_HI_TASKINST">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROC_DEF_ID_" order="2">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TASK_DEF_KEY_" order="3">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROC_INST_ID_" order="4">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="EXECUTION_ID_" order="5">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="NAME_" order="6">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PARENT_TASK_ID_" order="7">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DESCRIPTION_" order="8">
<type>varchar(4000)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="OWNER_" order="9">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="ASSIGNEE_" order="10">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="START_TIME_" order="11">
<type>datetime</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="END_TIME_" order="12">
<type>datetime</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DURATION_" order="13">
<type>bigint</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DELETE_REASON_" order="14">
<type>varchar(4000)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PRIORITY_" order="15">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DUE_DATE_" order="16">
<type>datetime</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes/>
</table>
<table name="ACT_ID_GROUP">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="REV_" order="2">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="NAME_" order="3">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TYPE_" order="4">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes/>
</table>
<table name="ACT_ID_INFO">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="REV_" order="2">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="USER_ID_" order="3">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TYPE_" order="4">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="KEY_" order="5">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="VALUE_" order="6">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PASSWORD_" order="7">
<type>longblob</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PARENT_ID_" order="8">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes/>
</table>
<table name="ACT_ID_MEMBERSHIP">
<columns>
<column name="USER_ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="GROUP_ID_" order="2">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="2">GROUP_ID_</columnname>
<columnname order="1">USER_ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys>
<foreignkey name="ACT_FK_MEMB_USER">
<localcolumn>USER_ID_</localcolumn>
<targettable>ACT_ID_USER</targettable>
<targetcolumn>ID_</targetcolumn>
</foreignkey>
<foreignkey name="ACT_FK_MEMB_GROUP">
<localcolumn>GROUP_ID_</localcolumn>
<targettable>ACT_ID_GROUP</targettable>
<targetcolumn>ID_</targetcolumn>
</foreignkey>
</foreignkeys>
<indexes>
<index name="ACT_FK_MEMB_GROUP" unique="false">
<columnnames>
<columnname>GROUP_ID_</columnname>
</columnnames>
</index>
</indexes>
</table>
<table name="ACT_ID_USER">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="REV_" order="2">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="FIRST_" order="3">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="LAST_" order="4">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="EMAIL_" order="5">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PWD_" order="6">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PICTURE_ID_" order="7">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes/>
</table>
<table name="ACT_RE_DEPLOYMENT">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="NAME_" order="2">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DEPLOY_TIME_" order="3">
<type>timestamp</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes/>
</table>
<table name="ACT_RE_PROCDEF">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="CATEGORY_" order="2">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="NAME_" order="3">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="KEY_" order="4">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="VERSION_" order="5">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DEPLOYMENT_ID_" order="6">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="RESOURCE_NAME_" order="7">
<type>varchar(4000)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DGRM_RESOURCE_NAME_" order="8">
<type>varchar(4000)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="HAS_START_FORM_KEY_" order="9">
<type>tinyint</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes/>
</table>
<table name="ACT_RU_EXECUTION">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="REV_" order="2">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROC_INST_ID_" order="3">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="BUSINESS_KEY_" order="4">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PARENT_ID_" order="5">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROC_DEF_ID_" order="6">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="SUPER_EXEC_" order="7">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="ACT_ID_" order="8">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="IS_ACTIVE_" order="9">
<type>tinyint</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="IS_CONCURRENT_" order="10">
<type>tinyint</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="IS_SCOPE_" order="11">
<type>tinyint</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys>
<foreignkey name="ACT_FK_EXE_SUPER">
<localcolumn>SUPER_EXEC_</localcolumn>
<targettable>ACT_RU_EXECUTION</targettable>
<targetcolumn>ID_</targetcolumn>
</foreignkey>
<foreignkey name="ACT_FK_EXE_PARENT">
<localcolumn>PARENT_ID_</localcolumn>
<targettable>ACT_RU_EXECUTION</targettable>
<targetcolumn>ID_</targetcolumn>
</foreignkey>
<foreignkey name="ACT_FK_EXE_PROCINST">
<localcolumn>PROC_INST_ID_</localcolumn>
<targettable>ACT_RU_EXECUTION</targettable>
<targetcolumn>ID_</targetcolumn>
</foreignkey>
</foreignkeys>
<indexes>
<index name="ACT_UNIQ_RU_BUS_KEY" unique="true">
<columnnames>
<columnname>PROC_DEF_ID_</columnname>
<columnname>BUSINESS_KEY_</columnname>
</columnnames>
</index>
<index name="ACT_IDX_EXEC_BUSKEY" unique="false">
<columnnames>
<columnname>BUSINESS_KEY_</columnname>
</columnnames>
</index>
<index name="ACT_FK_EXE_PROCINST" unique="false">
<columnnames>
<columnname>PROC_INST_ID_</columnname>
</columnnames>
</index>
<index name="ACT_FK_EXE_PARENT" unique="false">
<columnnames>
<columnname>PARENT_ID_</columnname>
</columnnames>
</index>
<index name="ACT_FK_EXE_SUPER" unique="false">
<columnnames>
<columnname>SUPER_EXEC_</columnname>
</columnnames>
</index>
</indexes>
</table>
<table name="ACT_RU_IDENTITYLINK">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="REV_" order="2">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="GROUP_ID_" order="3">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TYPE_" order="4">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="USER_ID_" order="5">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TASK_ID_" order="6">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys>
<foreignkey name="ACT_FK_TSKASS_TASK">
<localcolumn>TASK_ID_</localcolumn>
<targettable>ACT_RU_TASK</targettable>
<targetcolumn>ID_</targetcolumn>
</foreignkey>
</foreignkeys>
<indexes>
<index name="ACT_IDX_IDENT_LNK_USER" unique="false">
<columnnames>
<columnname>USER_ID_</columnname>
</columnnames>
</index>
<index name="ACT_IDX_IDENT_LNK_GROUP" unique="false">
<columnnames>
<columnname>GROUP_ID_</columnname>
</columnnames>
</index>
<index name="ACT_FK_TSKASS_TASK" unique="false">
<columnnames>
<columnname>TASK_ID_</columnname>
</columnnames>
</index>
</indexes>
</table>
<table name="ACT_RU_JOB">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="REV_" order="2">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TYPE_" order="3">
<type>varchar(255)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="LOCK_EXP_TIME_" order="4">
<type>timestamp</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="LOCK_OWNER_" order="5">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="EXCLUSIVE_" order="6">
<type>bit</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="EXECUTION_ID_" order="7">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROCESS_INSTANCE_ID_" order="8">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="RETRIES_" order="9">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="EXCEPTION_STACK_ID_" order="10">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="EXCEPTION_MSG_" order="11">
<type>varchar(4000)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DUEDATE_" order="12">
<type>timestamp</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="REPEAT_" order="13">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="HANDLER_TYPE_" order="14">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="HANDLER_CFG_" order="15">
<type>varchar(4000)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys>
<foreignkey name="ACT_FK_JOB_EXCEPTION">
<localcolumn>EXCEPTION_STACK_ID_</localcolumn>
<targettable>ACT_GE_BYTEARRAY</targettable>
<targetcolumn>ID_</targetcolumn>
</foreignkey>
</foreignkeys>
<indexes>
<index name="ACT_FK_JOB_EXCEPTION" unique="false">
<columnnames>
<columnname>EXCEPTION_STACK_ID_</columnname>
</columnnames>
</index>
</indexes>
</table>
<table name="ACT_RU_TASK">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="REV_" order="2">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="EXECUTION_ID_" order="3">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROC_INST_ID_" order="4">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROC_DEF_ID_" order="5">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="NAME_" order="6">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PARENT_TASK_ID_" order="7">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DESCRIPTION_" order="8">
<type>varchar(4000)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TASK_DEF_KEY_" order="9">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="OWNER_" order="10">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="ASSIGNEE_" order="11">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DELEGATION_" order="12">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PRIORITY_" order="13">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="CREATE_TIME_" order="14">
<type>timestamp</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DUE_DATE_" order="15">
<type>datetime</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys>
<foreignkey name="ACT_FK_TASK_PROCDEF">
<localcolumn>PROC_DEF_ID_</localcolumn>
<targettable>ACT_RE_PROCDEF</targettable>
<targetcolumn>ID_</targetcolumn>
</foreignkey>
<foreignkey name="ACT_FK_TASK_EXE">
<localcolumn>EXECUTION_ID_</localcolumn>
<targettable>ACT_RU_EXECUTION</targettable>
<targetcolumn>ID_</targetcolumn>
</foreignkey>
<foreignkey name="ACT_FK_TASK_PROCINST">
<localcolumn>PROC_INST_ID_</localcolumn>
<targettable>ACT_RU_EXECUTION</targettable>
<targetcolumn>ID_</targetcolumn>
</foreignkey>
</foreignkeys>
<indexes>
<index name="ACT_IDX_TASK_CREATE" unique="false">
<columnnames>
<columnname>CREATE_TIME_</columnname>
</columnnames>
</index>
<index name="ACT_FK_TASK_EXE" unique="false">
<columnnames>
<columnname>EXECUTION_ID_</columnname>
</columnnames>
</index>
<index name="ACT_FK_TASK_PROCINST" unique="false">
<columnnames>
<columnname>PROC_INST_ID_</columnname>
</columnnames>
</index>
<index name="ACT_FK_TASK_PROCDEF" unique="false">
<columnnames>
<columnname>PROC_DEF_ID_</columnname>
</columnnames>
</index>
</indexes>
</table>
<table name="ACT_RU_VARIABLE">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="REV_" order="2">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TYPE_" order="3">
<type>varchar(255)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="NAME_" order="4">
<type>varchar(255)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="EXECUTION_ID_" order="5">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROC_INST_ID_" order="6">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TASK_ID_" order="7">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="BYTEARRAY_ID_" order="8">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DOUBLE_" order="9">
<type>double</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="LONG_" order="10">
<type>bigint</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TEXT_" order="11">
<type>varchar(4000)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TEXT2_" order="12">
<type>varchar(4000)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys>
<foreignkey name="ACT_FK_VAR_BYTEARRAY">
<localcolumn>BYTEARRAY_ID_</localcolumn>
<targettable>ACT_GE_BYTEARRAY</targettable>
<targetcolumn>ID_</targetcolumn>
</foreignkey>
<foreignkey name="ACT_FK_VAR_EXE">
<localcolumn>EXECUTION_ID_</localcolumn>
<targettable>ACT_RU_EXECUTION</targettable>
<targetcolumn>ID_</targetcolumn>
</foreignkey>
<foreignkey name="ACT_FK_VAR_PROCINST">
<localcolumn>PROC_INST_ID_</localcolumn>
<targettable>ACT_RU_EXECUTION</targettable>
<targetcolumn>ID_</targetcolumn>
</foreignkey>
</foreignkeys>
<indexes>
<index name="ACT_FK_VAR_EXE" unique="false">
<columnnames>
<columnname>EXECUTION_ID_</columnname>
</columnnames>
</index>
<index name="ACT_FK_VAR_PROCINST" unique="false">
<columnnames>
<columnname>PROC_INST_ID_</columnname>
</columnnames>
</index>
<index name="ACT_FK_VAR_BYTEARRAY" unique="false">
<columnnames>
<columnname>BYTEARRAY_ID_</columnname>
</columnnames>
</index>
<index name="ACT_IDX_VARIABLE_TASK_ID" unique="false">
<columnnames>
<columnname>TASK_ID_</columnname>
</columnnames>
</index>
</indexes>
</table>
<table name="act_hi_actinst">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROC_DEF_ID_" order="2">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROC_INST_ID_" order="3">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="EXECUTION_ID_" order="4">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="ACT_ID_" order="5">
<type>varchar(255)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="ACT_NAME_" order="6">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="ACT_TYPE_" order="7">
<type>varchar(255)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="ASSIGNEE_" order="8">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="START_TIME_" order="9">
<type>datetime</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="END_TIME_" order="10">
<type>datetime</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DURATION_" order="11">
<type>bigint</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes>
<index name="ACT_IDX_HI_ACT_INST_START" unique="false">
<columnnames>
<columnname>START_TIME_</columnname>
</columnnames>
</index>
<index name="ACT_IDX_HI_ACT_INST_END" unique="false">
<columnnames>
<columnname>END_TIME_</columnname>
</columnnames>
</index>
</indexes>
</table>
<table name="act_hi_detail">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TYPE_" order="2">
<type>varchar(255)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROC_INST_ID_" order="3">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="EXECUTION_ID_" order="4">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TASK_ID_" order="5">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="ACT_INST_ID_" order="6">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="NAME_" order="7">
<type>varchar(255)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="VAR_TYPE_" order="8">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="REV_" order="9">
<type>int</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TIME_" order="10">
<type>datetime</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="BYTEARRAY_ID_" order="11">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DOUBLE_" order="12">
<type>double</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="LONG_" order="13">
<type>bigint</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TEXT_" order="14">
<type>varchar(4000)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="TEXT2_" order="15">
<type>varchar(4000)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes>
<index name="ACT_IDX_HI_DETAIL_PROC_INST" unique="false">
<columnnames>
<columnname>PROC_INST_ID_</columnname>
</columnnames>
</index>
<index name="ACT_IDX_HI_DETAIL_ACT_INST" unique="false">
<columnnames>
<columnname>ACT_INST_ID_</columnname>
</columnnames>
</index>
<index name="ACT_IDX_HI_DETAIL_TIME" unique="false">
<columnnames>
<columnname>TIME_</columnname>
</columnnames>
</index>
<index name="ACT_IDX_HI_DETAIL_NAME" unique="false">
<columnnames>
<columnname>NAME_</columnname>
</columnnames>
</index>
<index name="ACT_IDX_HI_DETAIL_TASK_ID" unique="false">
<columnnames>
<columnname>TASK_ID_</columnname>
</columnnames>
</index>
</indexes>
</table>
<table name="act_hi_procinst">
<columns>
<column name="ID_" order="1">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROC_INST_ID_" order="2">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="BUSINESS_KEY_" order="3">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="PROC_DEF_ID_" order="4">
<type>varchar(64)</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="START_TIME_" order="5">
<type>datetime</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="END_TIME_" order="6">
<type>datetime</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="DURATION_" order="7">
<type>bigint</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="START_USER_ID_" order="8">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="START_ACT_ID_" order="9">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="END_ACT_ID_" order="10">
<type>varchar(255)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="SUPER_PROCESS_INSTANCE_ID_" order="11">
<type>varchar(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="PRIMARY">
<columnnames>
<columnname order="1">ID_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes>
<index name="PROC_INST_ID_" unique="true">
<columnnames>
<columnname>PROC_INST_ID_</columnname>
</columnnames>
</index>
<index name="ACT_UNIQ_HI_BUS_KEY" unique="true">
<columnnames>
<columnname>PROC_DEF_ID_</columnname>
<columnname>BUSINESS_KEY_</columnname>
</columnnames>
</index>
<index name="ACT_IDX_HI_PRO_INST_END" unique="false">
<columnnames>
<columnname>END_TIME_</columnname>
</columnnames>
</index>
<index name="ACT_IDX_HI_PRO_I_BUSKEY" unique="false">
<columnnames>
<columnname>BUSINESS_KEY_</columnname>
</columnnames>
</index>
</indexes>
</table>
</objects>
</schema>