diff --git a/htdocs/install/mysql/migration/2.9.0-3.0.0.sql b/htdocs/install/mysql/migration/2.9.0-3.0.0.sql
index 279511ccb24b7e8406e02f80e42584edfd633cc9..d7ee2708b5bdb3cd4fde3bf7ee5a4e3633aadc00 100644
--- a/htdocs/install/mysql/migration/2.9.0-3.0.0.sql
+++ b/htdocs/install/mysql/migration/2.9.0-3.0.0.sql
@@ -12,6 +12,6 @@ alter table llx_product       add column recuperableonly integer NOT NULL DEFAUL
 alter table llx_product_price add column recuperableonly integer NOT NULL DEFAULT '0' after tva_tx;
 
  
-alter table llx_product change column envente tosell tinyint DEFAULT 1;
-alter table llx_product add column tobuy tinyint DEFAULT 1 after tosell;
+alter table llx_product change column envente tosell smallint DEFAULT 1;
+alter table llx_product add column tobuy smallint DEFAULT 1 after tosell;
  
\ No newline at end of file