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 a96fe2fbfb8..bb7f46bcb03 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 @@ -143,3 +143,5 @@ ALTER TABLE llx_user ADD COLUMN openid varchar(255); -- Enhance Withdrawal module INSERT INTO llx_action_def (rowid,code,titre,description,objet_type) values (7,'NOTIFY_TRN_WITHDRAW','Transmission prélèvement','Executed when a withdrawal is transmited','withdraw'); INSERT INTO llx_action_def (rowid,code,titre,description,objet_type) values (8,'NOTIFY_CRD_WITHDRAW','Créditer prélèvement','Executed when a withdrawal is credited','withdraw'); + +ALTER TABLE llx_prelevement_notifications MODIFY action varchar(32); diff --git a/htdocs/install/mysql/tables/llx_prelevement_notifications.sql b/htdocs/install/mysql/tables/llx_prelevement_notifications.sql index d9f10ec7be9..ac820003542 100644 --- a/htdocs/install/mysql/tables/llx_prelevement_notifications.sql +++ b/htdocs/install/mysql/tables/llx_prelevement_notifications.sql @@ -1,5 +1,6 @@ -- =================================================================== -- Copyright (C) 2005 Rodolphe Quiedeville +-- Copyright (C) 2010 Juanjo Menent -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -30,6 +31,6 @@ create table llx_prelevement_notifications ( rowid integer AUTO_INCREMENT PRIMARY KEY, fk_user integer NOT NULL, - action varchar(2) + action varchar(32) )type=innodb;