src-db/database/model/tables/AD_WORKFLOW.xml
changeset 5551 7a30caea85b5
parent 2586 683779f1e610
child 8504 802eae4a434d
--- a/src-db/database/model/tables/AD_WORKFLOW.xml	Thu Nov 26 16:35:30 2009 +0100
+++ b/src-db/database/model/tables/AD_WORKFLOW.xml	Thu Nov 26 17:36:43 2009 +0100
@@ -57,17 +57,17 @@
         <default><![CDATA[0]]></default>
         <onCreateDefault><![CDATA[SELECT AD_MODULE_ID FROM AD_MODULE WHERE AD_MODULE_ID<>'0' AND TYPE='M']]></onCreateDefault>
       </column>
-      <foreign-key foreignTable="AD_WF_NODE" name="ADWFNODE_ADWORKFLOW">
-        <reference local="AD_WF_NODE_ID" foreign="AD_WF_NODE_ID"/>
+      <foreign-key foreignTable="AD_CLIENT" name="AD_WORKFLOW_AD_CLIENT">
+        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="AD_MODULE" name="ADWORKFLOW_ADMODULE">
+      <foreign-key foreignTable="AD_MODULE" name="AD_WORKFLOW_AD_MODULE">
         <reference local="AD_MODULE_ID" foreign="AD_MODULE_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="AD_CLIENT" name="WORKFLOWCLIENT">
-        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
+      <foreign-key foreignTable="AD_ORG" name="AD_WORKFLOW_AD_ORG">
+        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="AD_ORG" name="WORKFLOWORG">
-        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
+      <foreign-key foreignTable="AD_WF_NODE" name="AD_WORKFLOW_AD_WF_NODE">
+        <reference local="AD_WF_NODE_ID" foreign="AD_WF_NODE_ID"/>
       </foreign-key>
       <unique name="AD_WORKFLOW_NAME">
         <unique-column name="AD_CLIENT_ID"/>