src-db/database/model/tables/MA_MEASURE_SHIFT.xml
changeset 5551 7a30caea85b5
parent 2586 683779f1e610
child 8504 802eae4a434d
--- a/src-db/database/model/tables/MA_MEASURE_SHIFT.xml	Thu Nov 26 16:35:30 2009 +0100
+++ b/src-db/database/model/tables/MA_MEASURE_SHIFT.xml	Thu Nov 26 17:36:43 2009 +0100
@@ -63,10 +63,10 @@
       <foreign-key foreignTable="AD_USER" name="AD_USER_MAMEASURESHIFT">
         <reference local="AD_USER_ID" foreign="AD_USER_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_MAMEASURESHIFT">
+      <foreign-key foreignTable="AD_CLIENT" name="MA_MEASURE_SHIFT_AD_CLIENT">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>
+      <check name="MA_MEASURE_SHIFT_ISACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
       <check name="MA_MEASURE_SHIFT_SHIFT_CHECK"><![CDATA[SHIFT IN ('M', 'T')]]></check>
-      <check name="MEASURESHIFT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>