dbut ajout possibilit de dterminer si le contenu d'une catgorie sera visible ou

non dans la liste des produits/services, ceci afin de pouvoir cacher les sous-produits
 par exemple.
This commit is contained in:
Regis Houssin 2006-03-29 15:54:41 +00:00
parent 701511da80
commit 955a7dbcea
2 changed files with 3 additions and 2 deletions

View File

@ -52,7 +52,8 @@ create table llx_commande_fournisseur_model_pdf
description text
)type=innodb;
alter table llx_categorie add fk_statut smallint DEFAULT 0;
alter table llx_categorie drop column fk_statut;
alter table llx_categorie add visible tinyint DEFAULT 1 NOT NULL;
alter table llx_actioncomm modify datea datetime;

View File

@ -27,5 +27,5 @@ create table llx_categorie
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
visible tinyint DEFAULT 1 NOT NULL -- determine si les produits sont visible ou pas
)type=innodb;