Modif: augmentation de la capacité du champ "description"

This commit is contained in:
Regis Houssin 2006-09-08 08:17:47 +00:00
parent 84e6dd6fe1
commit 5626869fd6
3 changed files with 10 additions and 7 deletions

View File

@ -114,8 +114,8 @@ create table llx_product_det
rowid integer AUTO_INCREMENT PRIMARY KEY, rowid integer AUTO_INCREMENT PRIMARY KEY,
fk_product integer DEFAULT 0 NOT NULL, fk_product integer DEFAULT 0 NOT NULL,
lang varchar(5) DEFAULT 0 NOT NULL, lang varchar(5) DEFAULT 0 NOT NULL,
label varchar(128), label varchar(255),
description varchar(255), description text,
note text note text
)type=innodb; )type=innodb;
@ -424,4 +424,7 @@ ALTER TABLE llx_categorie_product ADD CONSTRAINT fk_categorie_product_product_ro
ALTER TABLE llx_categorie_product ADD PRIMARY KEY (fk_categorie, fk_product); ALTER TABLE llx_categorie_product ADD PRIMARY KEY (fk_categorie, fk_product);
alter table llx_product modify label varchar(255) NOT NULL;
alter table llx_product modify description text;
alter table llx_product_det modify label varchar(255) NOT NULL;
alter table llx_product_det modify description text;

View File

@ -26,8 +26,8 @@ create table llx_product
datec datetime, datec datetime,
tms timestamp, tms timestamp,
ref varchar(16) NOT NULL, ref varchar(16) NOT NULL,
label varchar(128), label varchar(255) NOT NULL,
description varchar(255), description text,
note text, note text,
price double, price double,
tva_tx double, tva_tx double,

View File

@ -25,7 +25,7 @@ create table llx_product_det
rowid integer AUTO_INCREMENT PRIMARY KEY, rowid integer AUTO_INCREMENT PRIMARY KEY,
fk_product integer DEFAULT 0 NOT NULL, fk_product integer DEFAULT 0 NOT NULL,
lang varchar(5) DEFAULT 0 NOT NULL, lang varchar(5) DEFAULT 0 NOT NULL,
label varchar(128), label varchar(255) NOT NULL,
description varchar(255), description text,
note text note text
)type=innodb; )type=innodb;