From 3a47b0af196275f8e690c53104bf61a93b624b3d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 7 Nov 2006 23:39:29 +0000 Subject: [PATCH] Correction gestion num commande fournisseur --- mysql/migration/2.0.0-2.1.0.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index 52ccb2f3419..458e637ee92 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -265,6 +265,16 @@ update llx_const set value='mod_commande_diamant' where value='mod_commande_jade insert into llx_const (name, value, type, visible) values ('FICHEINTER_ADDON', 'pacific','chaine',0); alter table llx_propal_model_pdf rename to llx_document_model; + +create table llx_document_model +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + nom varchar(50), + type varchar(20) NOT NULL, + libelle varchar(255), + description text +)type=innodb; + alter table llx_document_model DROP PRIMARY KEY; alter table llx_document_model add column rowid integer AUTO_INCREMENT PRIMARY KEY FIRST; alter table llx_document_model add column type varchar(20) NOT NULL after nom;