src-db/database/model/tables/AD_MODEL_OBJECT.xml
changeset 799 fef2c5e2feb7
parent 756 ae11e4610537
child 1605 8a0fe0193bef
equal deleted inserted replaced
798:4994e5a604bb 799:fef2c5e2feb7
    59       </column>
    59       </column>
    60       <column name="AD_PROCESS_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    60       <column name="AD_PROCESS_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    61         <default/>
    61         <default/>
    62         <onCreateDefault/>
    62         <onCreateDefault/>
    63       </column>
    63       </column>
    64       <column name="AD_WORKBENCH_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
       
    65         <default/>
       
    66         <onCreateDefault/>
       
    67       </column>
       
    68       <column name="AD_FORM_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    64       <column name="AD_FORM_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    69         <default/>
    65         <default/>
    70         <onCreateDefault/>
    66         <onCreateDefault/>
    71       </column>
    67       </column>
    72       <column name="AD_REFERENCE_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    68       <column name="AD_REFERENCE_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    99         <reference local="AD_TAB_ID" foreign="AD_TAB_ID"/>
    95         <reference local="AD_TAB_ID" foreign="AD_TAB_ID"/>
   100       </foreign-key>
    96       </foreign-key>
   101       <foreign-key foreignTable="AD_TASK" name="MODELOBJECT_FK_TASK">
    97       <foreign-key foreignTable="AD_TASK" name="MODELOBJECT_FK_TASK">
   102         <reference local="AD_TASK_ID" foreign="AD_TASK_ID"/>
    98         <reference local="AD_TASK_ID" foreign="AD_TASK_ID"/>
   103       </foreign-key>
    99       </foreign-key>
   104       <foreign-key foreignTable="AD_WORKBENCH" name="MODELOBJECT_FK_WORKBENCH">
       
   105         <reference local="AD_WORKBENCH_ID" foreign="AD_WORKBENCH_ID"/>
       
   106       </foreign-key>
       
   107       <foreign-key foreignTable="AD_WORKFLOW" name="MODELOBJECT_FK_WORKFLOW">
   100       <foreign-key foreignTable="AD_WORKFLOW" name="MODELOBJECT_FK_WORKFLOW">
   108         <reference local="AD_WORKFLOW_ID" foreign="AD_WORKFLOW_ID"/>
   101         <reference local="AD_WORKFLOW_ID" foreign="AD_WORKFLOW_ID"/>
   109       </foreign-key>
   102       </foreign-key>
   110       <unique name="AD_MODEL_OBJECT_CLASSNAME">
   103       <unique name="AD_MODEL_OBJECT_CLASSNAME">
   111         <unique-column name="CLASSNAME"/>
   104         <unique-column name="CLASSNAME"/>