Prepare database for future portal website
This commit is contained in:
parent
e43f1cee7b
commit
dcf7d344cd
@ -92,3 +92,5 @@ CREATE TABLE llx_ecm_files
|
|||||||
|
|
||||||
ALTER TABLE llx_ecm_files ADD UNIQUE INDEX uk_ecm_files_fullpath(fullpath);
|
ALTER TABLE llx_ecm_files ADD UNIQUE INDEX uk_ecm_files_fullpath(fullpath);
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE llx_product ADD COLUMN onportal tinyint DEFAULT 0 after tobuy;
|
||||||
|
|||||||
@ -52,6 +52,7 @@ create table llx_product
|
|||||||
fk_user_modif integer, -- user making last change
|
fk_user_modif integer, -- user making last change
|
||||||
tosell tinyint DEFAULT 1, -- Product you sell
|
tosell tinyint DEFAULT 1, -- Product you sell
|
||||||
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)
|
||||||
tobatch tinyint DEFAULT 0 NOT NULL, -- Is it a product that need a batch or eat-by management
|
tobatch tinyint DEFAULT 0 NOT NULL, -- Is it a product that need a batch or eat-by management
|
||||||
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),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user