From 7b0bf13c5cb10cd12763d0a63d7ae4ff7193a93f Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 12 Dec 2006 17:53:49 +0000 Subject: [PATCH] Ajoute COLUMN --- mysql/migration/2.0.0-2.1.0.sql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index 9ece4f2531f..20ecd88ecb4 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -59,11 +59,11 @@ ALTER TABLE llx_societe drop column id; ALTER TABLE llx_societe modify parent integer; UPDATE llx_societe set parent = null where parent = 0; -alter table llx_product add stock_loc varchar(10) DEFAULT NULL; -alter table llx_product add gencode varchar(255) DEFAULT NULL; -alter table llx_product add weight float DEFAULT NULL; -alter table llx_product add weight_units tinyint DEFAULT NULL; -alter table llx_product add canvas varchar(15) DEFAULT ''; +ALTER TABLE llx_product ADD COLUMN stock_loc VARCHAR(10) DEFAULT NULL; +ALTER TABLE llx_product ADD COLUMN gencode VARCHAR(255) DEFAULT NULL; +ALTER TABLE llx_product ADD COLUMN weight float DEFAULT NULL; +ALTER TABLE llx_product ADD COLUMN weight_units tinyint DEFAULT NULL; +ALTER TABLE llx_product ADD COLUMN canvas varchar(15) DEFAULT ''; ALTER TABLE llx_stock_mouvement ADD COLUMN price FLOAT(13,4) DEFAULT 0;