From 77926190ab51dfd19e7db3298e67ce937a22aa83 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 15 Feb 2006 08:49:53 +0000 Subject: [PATCH] Ajout du champs gencode pour les codes barre --- mysql/migration/2.0.0-2.1.0.sql | 2 ++ mysql/tables/llx_product.sql | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index 959f804a7c8..5d12dc3eeb5 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -26,3 +26,5 @@ alter table llx_propal add column note_public text after note; ALTER TABLE llx_societe ADD mode_reglement INT( 11 ) DEFAULT NULL ; ALTER TABLE llx_societe ADD cond_reglement INT( 11 ) DEFAULT '1' NOT NULL ; + +alter table llx_product add gencode varchar(255) DEFAULT NULL; diff --git a/mysql/tables/llx_product.sql b/mysql/tables/llx_product.sql index 6301ca0ae0a..edf2b07f13e 100644 --- a/mysql/tables/llx_product.sql +++ b/mysql/tables/llx_product.sql @@ -38,7 +38,8 @@ create table llx_product duration varchar(6), stock_propale integer DEFAULT 0, stock_commande integer DEFAULT 0, - seuil_stock_alerte integer DEFAULT 0 + seuil_stock_alerte integer DEFAULT 0, + gencode varchar(255) DEFAULT NULL )type=innodb;