Fix sql
This commit is contained in:
parent
e5ab721660
commit
34955b1cf9
@ -418,7 +418,7 @@ UPDATE llx_propal SET fk_user_signature = fk_user_cloture WHERE fk_user_signatur
|
|||||||
UPDATE llx_propal SET date_signature = date_cloture WHERE date_signature IS NULL AND date_cloture IS NOT NULL;
|
UPDATE llx_propal SET date_signature = date_cloture WHERE date_signature IS NULL AND date_cloture IS NOT NULL;
|
||||||
|
|
||||||
|
|
||||||
ALTER TABLE llx_product ADD COLUMN batch_mask VARCHAR(32) NULL;
|
ALTER TABLE llx_product ADD COLUMN batch_mask VARCHAR(32) DEFAULT NULL;
|
||||||
ALTER TABLE llx_product ADD COLUMN lifetime INTEGER NULL;
|
ALTER TABLE llx_product ADD COLUMN lifetime INTEGER NULL;
|
||||||
ALTER TABLE llx_product ADD COLUMN qc_frequency INTEGER NULL;
|
ALTER TABLE llx_product ADD COLUMN qc_frequency INTEGER NULL;
|
||||||
|
|
||||||
|
|||||||
@ -59,7 +59,7 @@ create table llx_product
|
|||||||
tobuy tinyint DEFAULT 1, -- Product you buy
|
tobuy tinyint DEFAULT 1, -- Product you buy
|
||||||
onportal tinyint DEFAULT 0, -- If it is a product you sell and you want to sell it on portal (module website must be on)
|
onportal tinyint DEFAULT 0, -- If it is a product you sell and you want to sell it on portal (module website must be on)
|
||||||
tobatch tinyint DEFAULT 0 NOT NULL, -- Is it a product that need a batch management (eat-by or lot management)
|
tobatch tinyint DEFAULT 0 NOT NULL, -- Is it a product that need a batch management (eat-by or lot management)
|
||||||
batch_mask varchar(32), -- If the product has batch feature, you may want to use a batch mask per product
|
batch_mask varchar(32) DEFAULT NULL, -- If the product has batch feature, you may want to use a batch mask per product
|
||||||
fk_product_type integer DEFAULT 0, -- Type of product: 0 for regular product, 1 for service, 9 for other (used by external module)
|
fk_product_type integer DEFAULT 0, -- Type of product: 0 for regular product, 1 for service, 9 for other (used by external module)
|
||||||
duration varchar(6),
|
duration varchar(6),
|
||||||
seuil_stock_alerte float DEFAULT NULL,
|
seuil_stock_alerte float DEFAULT NULL,
|
||||||
@ -95,7 +95,7 @@ create table llx_product
|
|||||||
canvas varchar(32) DEFAULT NULL,
|
canvas varchar(32) DEFAULT NULL,
|
||||||
finished tinyint DEFAULT NULL, -- see dictionnary c_product_nature
|
finished tinyint DEFAULT NULL, -- see dictionnary c_product_nature
|
||||||
lifetime integer DEFAULT NULL,
|
lifetime integer DEFAULT NULL,
|
||||||
qc_frequency integer DEFAULT NULL,
|
qc_frequency integer DEFAULT NULL, -- Quality control periodicity
|
||||||
hidden tinyint DEFAULT 0, -- Not used. Deprecated.
|
hidden tinyint DEFAULT 0, -- Not used. Deprecated.
|
||||||
import_key varchar(14), -- Import key
|
import_key varchar(14), -- Import key
|
||||||
model_pdf varchar(255), -- model save dodument used
|
model_pdf varchar(255), -- model save dodument used
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user