diff --git a/mysql/migration/1.1.0-1.2.0-RC1.sql b/mysql/migration/1.1.0-1.2.0-RC1.sql index ed974f03a8f..175c9f014fd 100644 --- a/mysql/migration/1.1.0-1.2.0-RC1.sql +++ b/mysql/migration/1.1.0-1.2.0-RC1.sql @@ -5,6 +5,9 @@ -- sans AUCUNE erreur ni warning -- ; + +alter table llx_boxes add box_order smallint default 0 NOT NULL; + alter table llx_user drop column module_comm; alter table llx_user drop column module_compta; diff --git a/mysql/tables/llx_boxes.sql b/mysql/tables/llx_boxes.sql index a393fe1ac6a..4bfeb603937 100644 --- a/mysql/tables/llx_boxes.sql +++ b/mysql/tables/llx_boxes.sql @@ -28,6 +28,6 @@ create table llx_boxes ( rowid integer AUTO_INCREMENT PRIMARY KEY, box_id integer NOT NULL, - position smallint NOT NULL - + position smallint NOT NULL, + box_order smallint default 0 NOT NULL )type=innodb;