Skip to content

Commit 69f5e37

Browse files
authored
Merge pull request #32746 from altairisfr/product_min_qty
ADD: packaging column for product
2 parents b26c36b + 8be5fd4 commit 69f5e37

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

htdocs/install/mysql/migration/21.0.0-22.0.0.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,5 @@ ALTER TABLE llx_holiday_config ADD COLUMN entity integer DEFAULT 1 NOT NULL AFTE
4848
ALTER TABLE llx_holiday_config ADD UNIQUE INDEX idx_holiday_config (entity, name);
4949

5050
ALTER TABLE llx_societe_account ADD COLUMN ip varchar(250);
51+
52+
ALTER TABLE llx_product ADD COLUMN packaging integer DEFAULT NULL;

htdocs/install/mysql/tables/llx_product.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,6 @@ create table llx_product
110110
price_autogen tinyint DEFAULT 0,
111111
fk_project integer DEFAULT NULL, -- Used when product was generated by a project or is specific to a project
112112
mandatory_period tinyint DEFAULT 0, -- is used to signal to the user that the start and end dates are mandatory for this type of product the fk_product_type == 1 (service) (non-blocking action)
113-
last_main_doc varchar(255)
113+
last_main_doc varchar(255),
114+
packaging integer DEFAULT NULL
114115
)ENGINE=innodb;

0 commit comments

Comments
 (0)