From 758f1398a896b1d37eb5af7b96a6f226bf7b22a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Cendrier?= Date: Tue, 28 Jan 2025 15:37:32 +0100 Subject: [PATCH] FIX: float is not int --- htdocs/install/mysql/migration/21.0.0-22.0.0.sql | 2 +- htdocs/install/mysql/tables/llx_product.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/install/mysql/migration/21.0.0-22.0.0.sql b/htdocs/install/mysql/migration/21.0.0-22.0.0.sql index 0a4b4487eaaa1..0837bdb61a853 100644 --- a/htdocs/install/mysql/migration/21.0.0-22.0.0.sql +++ b/htdocs/install/mysql/migration/21.0.0-22.0.0.sql @@ -49,4 +49,4 @@ ALTER TABLE llx_holiday_config ADD UNIQUE INDEX idx_holiday_config (entity, name ALTER TABLE llx_societe_account ADD COLUMN ip varchar(250); -ALTER TABLE llx_product ADD COLUMN packaging integer DEFAULT NULL; \ No newline at end of file +ALTER TABLE llx_product ADD COLUMN packaging float(24,8) DEFAULT NULL; \ No newline at end of file diff --git a/htdocs/install/mysql/tables/llx_product.sql b/htdocs/install/mysql/tables/llx_product.sql index 74e13e24694b5..83c76684d75b5 100644 --- a/htdocs/install/mysql/tables/llx_product.sql +++ b/htdocs/install/mysql/tables/llx_product.sql @@ -111,5 +111,5 @@ create table llx_product fk_project integer DEFAULT NULL, -- Used when product was generated by a project or is specific to a project 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) last_main_doc varchar(255), - packaging integer DEFAULT NULL + packaging float(24,8) DEFAULT NULL )ENGINE=innodb;