Ajout champs fk_statut pour définir le type de catégorie

This commit is contained in:
Regis Houssin 2006-02-21 09:58:04 +00:00
parent 41e9fabc4d
commit f575fc20ed
2 changed files with 9 additions and 5 deletions

View File

@ -51,3 +51,5 @@ create table llx_commande_fournisseur_model_pdf
libelle varchar(255), libelle varchar(255),
description text description text
)type=innodb; )type=innodb;
alter table llx_categorie add fk_statut smallint DEFAULT 0;

View File

@ -1,6 +1,7 @@
-- ============================================================================ -- ============================================================================
-- Copyright (C) 2005 Brice Davoleau <e1davole@iu-vannes.fr> -- Copyright (C) 2005 Brice Davoleau <e1davole@iu-vannes.fr>
-- Copyright (C) 2005 Matthieu Valleton <mv@seeschloss.org> -- Copyright (C) 2005 Matthieu Valleton <mv@seeschloss.org>
-- Copyright (C) 2005-2006 Regis Houssin <regis.houssin@cap-networks.com>
-- --
-- This program is free software; you can redistribute it and/or modify -- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by -- it under the terms of the GNU General Public License as published by
@ -24,6 +25,7 @@
create table llx_categorie create table llx_categorie
( (
rowid integer AUTO_INCREMENT PRIMARY KEY, rowid integer AUTO_INCREMENT PRIMARY KEY,
label VARCHAR(255), label VARCHAR(255), -- nom de la catégorie
description text description text, -- description de la catégorie
fk_statut smallint default 0 -- type et statut de la catégorie
)type=innodb; )type=innodb;