From 241ec01adfea29fd6003e97f3c2f6f3bef6ce29f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 19 Jun 2017 15:07:55 +0200 Subject: [PATCH] FIX #7031 missing change column "state_id" since dolibarr 3.5 !! --- htdocs/install/mysql/migration/5.0.0-6.0.0.sql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/install/mysql/migration/5.0.0-6.0.0.sql b/htdocs/install/mysql/migration/5.0.0-6.0.0.sql index 18349872d72..7d2d76e6d08 100644 --- a/htdocs/install/mysql/migration/5.0.0-6.0.0.sql +++ b/htdocs/install/mysql/migration/5.0.0-6.0.0.sql @@ -98,6 +98,11 @@ ALTER TABLE llx_actioncomm ADD COLUMN extraparams varchar(255); ALTER TABLE llx_bank_account ADD COLUMN extraparams varchar(255); +ALTER TABLE llx_bank_account MODIFY COLUMN state_id integer DEFAULT NULL; + +ALTER TABLE llx_adherent MODIFY COLUMN state_id integer DEFAULT NULL; +ALTER TABLE llx_adherent MODIFY COLUMN country integer DEFAULT NULL; + insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('PRODUCT_CREATE','Product or service created','Executed when a product or sevice is created','product',30); insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('PRODUCT_MODIFY','Product or service modified','Executed when a product or sevice is modified','product',30);