Ajout champs fk_statut pour dfinir le type de catgorie

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),
description text
)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 Matthieu Valleton <mv@seeschloss.org>
-- Copyright (C) 2005 Brice Davoleau <e1davole@iu-vannes.fr>
-- 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
-- it under the terms of the GNU General Public License as published by
@ -23,7 +24,8 @@
create table llx_categorie
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
label VARCHAR(255),
description text
rowid integer AUTO_INCREMENT PRIMARY KEY,
label VARCHAR(255), -- nom de la catégorie
description text, -- description de la catégorie
fk_statut smallint default 0 -- type et statut de la catégorie
)type=innodb;