From fd90c786e8cc9f5246eccb5c40ea2c51b1029b65 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville <rodolphe@quiedeville.org> Date: Tue, 5 Apr 2005 09:26:30 +0000 Subject: [PATCH] Ajout champs code --- mysql/tables/llx_c_methode_commande_fournisseur.sql | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mysql/tables/llx_c_methode_commande_fournisseur.sql b/mysql/tables/llx_c_methode_commande_fournisseur.sql index c4ddb5b69a4..2d065759282 100644 --- a/mysql/tables/llx_c_methode_commande_fournisseur.sql +++ b/mysql/tables/llx_c_methode_commande_fournisseur.sql @@ -1,5 +1,5 @@ -- ======================================================================== --- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> +-- Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org> -- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net> -- -- $Id$ @@ -25,7 +25,9 @@ create table llx_c_methode_commande_fournisseur ( rowid integer AUTO_INCREMENT PRIMARY KEY, code varchar(30), - libelle varchar(30), - active tinyint default 1 NOT NULL + libelle varchar(60), + active tinyint default 1 NOT NULL, + + UNIQUE INDEX(code) )type=innodb; -- GitLab