diff --git a/htdocs/install/mysql/migration/3.1.0-3.2.0.sql b/htdocs/install/mysql/migration/3.1.0-3.2.0.sql index 74ba2aa255a71355a64b3a1b1d4aa4f4f662a6ab..64db6d9bd8776e8beef624d8a3ac558381f24514 100755 --- a/htdocs/install/mysql/migration/3.1.0-3.2.0.sql +++ b/htdocs/install/mysql/migration/3.1.0-3.2.0.sql @@ -268,11 +268,6 @@ ALTER TABLE llx_actioncomm DROP COLUMN fk_supplier_order; ALTER TABLE llx_actioncomm DROP COLUMN fk_supplier_invoice; ALTER TABLE llx_actioncomm DROP COLUMN fk_commande; ALTER TABLE llx_product_stock DROP COLUMN location; --- DROP TABLE llx_c_methode_commande_fournisseur; --- DROP TABLE llx_c_source; --- DROP TABLE llx_cond_reglement; --- DROP TABLE llx_expedition_methode; --- DROP TABLE llx_product_fournisseur; ALTER TABLE llx_adherent_extrafields ADD COLUMN import_key varchar(14); ALTER TABLE llx_product_extrafields ADD COLUMN import_key varchar(14); diff --git a/htdocs/install/mysql/migration/repair.sql b/htdocs/install/mysql/migration/repair.sql index d4ed30f7ce97323c0c6861bcb66a5e04fc9c2a99..815343e162ef211c70fb3efb279ea3dbe6cb1990 100644 --- a/htdocs/install/mysql/migration/repair.sql +++ b/htdocs/install/mysql/migration/repair.sql @@ -48,3 +48,12 @@ DELETE FROM llx_boxes where box_id NOT IN (SELECT rowid FROM llx_boxes_def); -- VPGSQL8.2 DELETE FROM llx_boxes_def as T1 WHERE rowid NOT IN (SELECT min(rowid) FROM llx_boxes_def GROUP BY file, entity, note) +-- Requests to clean old tables or fields + +-- DROP TABLE llx_c_methode_commande_fournisseur; +-- DROP TABLE llx_c_source; +-- DROP TABLE llx_cond_reglement; +-- DROP TABLE llx_expedition_methode; +-- DROP TABLE llx_product_fournisseur; +-- ALTER TABLE llx_product_fournisseur_price DROP COLUMN fk_product_fournisseur; +