Files
alfresco-community-repo/config/alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/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

1328 lines
46 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>int4</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>bytea</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="act_ge_bytearray_pkey">
<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_idx_bytear_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>int4</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="act_ge_property_pkey">
<columnnames>
<columnname order="1">name_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<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>timestamp</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="end_time_" order="10">
<type>timestamp</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="duration_" order="11">
<type>int8</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="act_hi_actinst_pkey">
<columnnames>
<columnname order="1">id_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes>
<index name="act_idx_hi_act_inst_end" unique="false">
<columnnames>
<columnname>end_time_</columnname>
</columnnames>
</index>
<index name="act_idx_hi_act_inst_start" unique="false">
<columnnames>
<columnname>start_time_</columnname>
</columnnames>
</index>
</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>int4</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="act_hi_attachment_pkey">
<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>timestamp</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>bytea</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="act_hi_comment_pkey">
<columnnames>
<columnname order="1">id_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<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(64)</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="rev_" order="9">
<type>int4</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="time_" order="10">
<type>timestamp</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>float8</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="long_" order="13">
<type>int8</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="act_hi_detail_pkey">
<columnnames>
<columnname order="1">id_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes>
<index name="act_idx_hi_detail_act_inst" unique="false">
<columnnames>
<columnname>act_inst_id_</columnname>
</columnnames>
</index>
<index name="act_idx_hi_detail_name" unique="false">
<columnnames>
<columnname>name_</columnname>
</columnnames>
</index>
<index name="act_idx_hi_detail_proc_inst" unique="false">
<columnnames>
<columnname>proc_inst_id_</columnname>
</columnnames>
</index>
<index name="act_idx_hi_detail_task_id" unique="false">
<columnnames>
<columnname>task_id_</columnname>
</columnnames>
</index>
<index name="act_idx_hi_detail_time" unique="false">
<columnnames>
<columnname>time_</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>timestamp</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="end_time_" order="6">
<type>timestamp</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="duration_" order="7">
<type>int8</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="act_hi_procinst_pkey">
<columnnames>
<columnname order="1">id_</columnname>
</columnnames>
</primarykey>
<foreignkeys/>
<indexes>
<index name="act_hi_procinst_proc_def_id__business_key__key" unique="true">
<columnnames>
<columnname>proc_def_id_</columnname>
<columnname>business_key_</columnname>
</columnnames>
</index>
<index name="act_hi_procinst_proc_inst_id__key" unique="true">
<columnnames>
<columnname>proc_inst_id_</columnname>
</columnnames>
</index>
<index name="act_idx_hi_pro_i_buskey" unique="false">
<columnnames>
<columnname>business_key_</columnname>
</columnnames>
</index>
<index name="act_idx_hi_pro_inst_end" unique="false">
<columnnames>
<columnname>end_time_</columnname>
</columnnames>
</index>
</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>timestamp</type>
<nullable>false</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="end_time_" order="12">
<type>timestamp</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="duration_" order="13">
<type>int8</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>int4</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="due_date_" order="16">
<type>timestamp</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="act_hi_taskinst_pkey">
<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>int4</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="act_id_group_pkey">
<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>int4</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>bytea</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="act_id_info_pkey">
<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="act_id_membership_pkey">
<columnnames>
<columnname order="1">user_id_</columnname>
<columnname order="2">group_id_</columnname>
</columnnames>
</primarykey>
<foreignkeys>
<foreignkey name="act_fk_memb_group">
<localcolumn>group_id_</localcolumn>
<targettable>act_id_group</targettable>
<targetcolumn>id_</targetcolumn>
</foreignkey>
<foreignkey name="act_fk_memb_user">
<localcolumn>user_id_</localcolumn>
<targettable>act_id_user</targettable>
<targetcolumn>id_</targetcolumn>
</foreignkey>
</foreignkeys>
<indexes>
<index name="act_idx_memb_group" unique="false">
<columnnames>
<columnname>group_id_</columnname>
</columnnames>
</index>
<index name="act_idx_memb_user" unique="false">
<columnnames>
<columnname>user_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>int4</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="act_id_user_pkey">
<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>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="act_re_deployment_pkey">
<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>int4</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>bool</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="act_re_procdef_pkey">
<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>int4</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>bool</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="is_concurrent_" order="10">
<type>bool</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="is_scope_" order="11">
<type>bool</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="act_ru_execution_pkey">
<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_ru_execution_proc_def_id__business_key__key" unique="true">
<columnnames>
<columnname>proc_def_id_</columnname>
<columnname>business_key_</columnname>
</columnnames>
</index>
<index name="act_idx_exe_parent" unique="false">
<columnnames>
<columnname>parent_id_</columnname>
</columnnames>
</index>
<index name="act_idx_exe_procinst" unique="false">
<columnnames>
<columnname>proc_inst_id_</columnname>
</columnnames>
</index>
<index name="act_idx_exe_super" unique="false">
<columnnames>
<columnname>super_exec_</columnname>
</columnnames>
</index>
<index name="act_idx_exec_buskey" unique="false">
<columnnames>
<columnname>business_key_</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>int4</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="act_ru_identitylink_pkey">
<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_group" unique="false">
<columnnames>
<columnname>group_id_</columnname>
</columnnames>
</index>
<index name="act_idx_ident_lnk_user" unique="false">
<columnnames>
<columnname>user_id_</columnname>
</columnnames>
</index>
<index name="act_idx_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>int4</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>true</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>bool</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>int4</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="act_ru_job_pkey">
<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_idx_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>int4</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>int4</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="create_time_" order="14">
<type>timestamp</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="due_date_" order="15">
<type>timestamp</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
</columns>
<primarykey name="act_ru_task_pkey">
<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_procinst">
<localcolumn>proc_inst_id_</localcolumn>
<targettable>act_ru_execution</targettable>
<targetcolumn>id_</targetcolumn>
</foreignkey>
<foreignkey name="act_fk_task_exe">
<localcolumn>execution_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_idx_task_exec" unique="false">
<columnnames>
<columnname>execution_id_</columnname>
</columnnames>
</index>
<index name="act_idx_task_procdef" unique="false">
<columnnames>
<columnname>proc_def_id_</columnname>
</columnnames>
</index>
<index name="act_idx_task_procinst" unique="false">
<columnnames>
<columnname>proc_inst_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>int4</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>float8</type>
<nullable>true</nullable>
<autoincrement>false</autoincrement>
</column>
<column name="long_" order="10">
<type>int8</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="act_ru_variable_pkey">
<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_procinst">
<localcolumn>proc_inst_id_</localcolumn>
<targettable>act_ru_execution</targettable>
<targetcolumn>id_</targetcolumn>
</foreignkey>
<foreignkey name="act_fk_var_exe">
<localcolumn>execution_id_</localcolumn>
<targettable>act_ru_execution</targettable>
<targetcolumn>id_</targetcolumn>
</foreignkey>
</foreignkeys>
<indexes>
<index name="act_idx_var_bytearray" unique="false">
<columnnames>
<columnname>bytearray_id_</columnname>
</columnnames>
</index>
<index name="act_idx_var_exe" unique="false">
<columnnames>
<columnname>execution_id_</columnname>
</columnnames>
</index>
<index name="act_idx_var_procinst" unique="false">
<columnnames>
<columnname>proc_inst_id_</columnname>
</columnnames>
</index>
<index name="act_idx_variable_task_id" unique="false">
<columnnames>
<columnname>task_id_</columnname>
</columnnames>
</index>
</indexes>
</table>
</objects>
</schema>