Ajoute COLUMN

This commit is contained in:
Rodolphe Quiedeville 2006-12-12 17:53:49 +00:00
parent 94844ff079
commit 7b0bf13c5c

View File

@ -59,11 +59,11 @@ ALTER TABLE llx_societe drop column id;
ALTER TABLE llx_societe modify parent integer;
UPDATE llx_societe set parent = null where parent = 0;
alter table llx_product add stock_loc varchar(10) DEFAULT NULL;
alter table llx_product add gencode varchar(255) DEFAULT NULL;
alter table llx_product add weight float DEFAULT NULL;
alter table llx_product add weight_units tinyint DEFAULT NULL;
alter table llx_product add canvas varchar(15) DEFAULT '';
ALTER TABLE llx_product ADD COLUMN stock_loc VARCHAR(10) DEFAULT NULL;
ALTER TABLE llx_product ADD COLUMN gencode VARCHAR(255) DEFAULT NULL;
ALTER TABLE llx_product ADD COLUMN weight float DEFAULT NULL;
ALTER TABLE llx_product ADD COLUMN weight_units tinyint DEFAULT NULL;
ALTER TABLE llx_product ADD COLUMN canvas varchar(15) DEFAULT '';
ALTER TABLE llx_stock_mouvement ADD COLUMN price FLOAT(13,4) DEFAULT 0;