|
From: | Laurent Destailleur |
Subject: | [Dolibarr-bugtrack] [bug #33881] can delete products with supplier refs, or subproducts |
Date: | Fri, 29 Jul 2011 15:10:54 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.15) Gecko/20110305 Firefox/3.6.15 |
Update of bug #33881 (project dolibarr): Status: Ready For Test => In Progress _______________________________________________________ Follow-up Comment #1: Constraint must also be added into migrate process: --V4.1 DELETE FROM llx_product_fournisseur where fk_product NOT IN (SELECT rowid from llx_product); ALTER TABLE llx_product_fournisseur ADD CONSTRAINT fk_product_fournisseur_fk_product FOREIGN KEY (fk_product) REFERENCES llx_product (rowid); _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?33881> _______________________________________________ Message posté via/par Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |