From 1fc5d81b735789e6b3a4fec8c342da3ee54dfc85 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 9 Jun 2007 11:30:03 +0000 Subject: [PATCH] Modif pour permettre config nbre de decimal --- mysql/migration/2.1.0-2.2.0.sql | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mysql/migration/2.1.0-2.2.0.sql b/mysql/migration/2.1.0-2.2.0.sql index d9586722657..02799a49bf9 100644 --- a/mysql/migration/2.1.0-2.2.0.sql +++ b/mysql/migration/2.1.0-2.2.0.sql @@ -558,3 +558,12 @@ drop table if exists llx_todocomm; drop table if exists llx_ventes; drop table if exists llx_pointmort; drop table if exists llx_birthday_alert; + +-- Pas de limite sur nb decimal dans base car definie en option +ALTER TABLE llx_product_price ADD COLUMN price_ttc float DEFAULT 0 AFTER price; +ALTER TABLE llx_product ADD COLUMN price_ttc float DEFAULT 0 AFTER price_base_type; +ALTER TABLE llx_product_price MODIFY price_ttc float DEFAULT 0; +ALTER TABLE llx_product ADD COLUMN price_ttc float DEFAULT 0; + + +