diff --git a/mysql/migration/1.1.0-2.0.0.sql b/mysql/migration/1.1.0-2.0.0.sql index ad668d5476a..a0d861ab667 100644 --- a/mysql/migration/1.1.0-2.0.0.sql +++ b/mysql/migration/1.1.0-2.0.0.sql @@ -830,6 +830,8 @@ insert into llx_c_actioncomm (id, code, type, libelle) values ( 9, 'AC_FAC', 's insert into llx_c_actioncomm (id, code, type, libelle) values (10, 'AC_REL', 'system', 'Relance effectuée'); insert into llx_c_actioncomm (id, code, type, libelle) values (11, 'AC_CLO', 'system', 'Clôture'); +alter table llx_actioncomm change percent percent smallint NOT NULL default 0; + drop table if exists llx_c_ape; diff --git a/mysql/tables/llx_actioncomm.sql b/mysql/tables/llx_actioncomm.sql index 433384556de..823f63f4493 100644 --- a/mysql/tables/llx_actioncomm.sql +++ b/mysql/tables/llx_actioncomm.sql @@ -33,7 +33,7 @@ create table llx_actioncomm fk_user_action integer, -- id de la personne qui doit effectuer l'action fk_user_author integer, priority smallint, - percent smallint, + percent smallint NOT NULL default 0, note text, propalrowid integer, fk_facture integer