From 66a82492a5df7fb3356586fb0bd713d273bce249 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Fri, 6 Nov 2020 17:20:39 +0100 Subject: [PATCH] CFGCONTACT change to CFGOPT1 --- include/constant.php | 2 +- include/sql/patch/upgrade149.sql | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 include/sql/patch/upgrade149.sql diff --git a/include/constant.php b/include/constant.php index fe77c4d64..7d08aea22 100644 --- a/include/constant.php +++ b/include/constant.php @@ -107,7 +107,7 @@ if ( !defined ("NOALYSS_PACKAGE_REPOSITORY")) { if ( ! defined ("SYSINFO_DISPLAY")) { define ("SYSINFO_DISPLAY",TRUE); } -define ("DBVERSION",149); +define ("DBVERSION",150); define ("MONO_DATABASE",25); define ("DBVERSIONREPO",18); define ('NOTFOUND','--not found--'); diff --git a/include/sql/patch/upgrade149.sql b/include/sql/patch/upgrade149.sql new file mode 100644 index 000000000..b1865a488 --- /dev/null +++ b/include/sql/patch/upgrade149.sql @@ -0,0 +1,6 @@ +begin; +update menu_ref set me_code='CFGOPT1',me_menu='Option Fiches', me_description = 'configure les options pour les fiches dans le suivi' where me_code='CFGCONTACT'; +update bookmark set b_action=replace(b_action,'CFGCONTACT','CFGOPT1'); + +insert into version (val,v_description) values (150,'Change name default action'); +commit;