[Vtigercrm-commits] [vtiger-commits] r3933 - /vtigercrm/branches/4.2/schema/DatabaseSchema.xml

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat Feb 25 02:52:19 EST 2006


Author: mfedyk
Date: Sat Feb 25 00:52:17 2006
New Revision: 3933

Log:
Remove foreign keys that point to missing fields. see #34

Modified:
    vtigercrm/branches/4.2/schema/DatabaseSchema.xml

Modified: vtigercrm/branches/4.2/schema/DatabaseSchema.xml
==============================================================================
--- vtigercrm/branches/4.2/schema/DatabaseSchema.xml (original)
+++ vtigercrm/branches/4.2/schema/DatabaseSchema.xml Sat Feb 25 00:52:17 2006
@@ -4443,13 +4443,6 @@
 	</table>
 
 	<table name="salesorder" alter="true">
-	<constraint>ADD CONSTRAINT fk_SO3 FOREIGN KEY (purchaseorderid) REFERENCES purchaseorder(purchaseorderid) ON DELETE CASCADE</constraint>
-		<opt>Type=InnoDB</opt>
-		<data>
-		</data>
-	</table>
-
-	<table name="salesorder" alter="true">
 	<constraint>ADD CONSTRAINT fk_SO4 FOREIGN KEY (contactid) REFERENCES contactdetails(contactid) ON DELETE CASCADE</constraint>
 		<opt>Type=InnoDB</opt>
 		<data>
@@ -4615,13 +4608,6 @@
 		</data>
 	</table>
 
-	<table name="invoice" alter="true">
-	<constraint>ADD CONSTRAINT fk_Invoice2 FOREIGN KEY (purchaseorderid) REFERENCES purchaseorder(purchaseorderid) ON DELETE CASCADE</constraint>
-		<opt>Type=InnoDB</opt>
-		<data>
-		</data>
-	</table>
-
 	<table name="invoicebillads">
 		<field name="invoicebilladdressid" type="I" size="19">
 			<KEY/>





More information about the vtigercrm-commits mailing list