From 6e9a97cbde047e22f5a54ea580e519fb51f79dd0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 1 Jul 2006 02:17:07 +0000 Subject: [PATCH] Uniformisation des noms de champs sur les contrat --- mysql/migration/2.0.0-2.1.0.sql | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index 6676f260703..899af1141d4 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -125,6 +125,12 @@ ALTER TABLE llx_commandedet ADD COLUMN total_tva real AFTER total_ht; ALTER TABLE llx_commandedet ADD COLUMN total_ttc real AFTER total_tva; ALTER TABLE llx_commandedet ADD COLUMN info_bits integer DEFAULT 0 AFTER total_ttc; +ALTER TABLE llx_contratdet ADD COLUMN total_ht real AFTER price_ht; +ALTER TABLE llx_contratdet ADD COLUMN total_tva real AFTER total_ht; +ALTER TABLE llx_contratdet ADD COLUMN total_ttc real AFTER total_tva; +ALTER TABLE llx_contratdet ADD COLUMN info_bits integer DEFAULT 0 AFTER total_ttc; + + ALTER TABLE llx_commande ADD INDEX idx_commande_fk_soc (fk_soc); ALTER TABLE llx_commande ADD CONSTRAINT fk_commande_societe FOREIGN KEY (fk_soc) REFERENCES llx_societe (idp);