diff --git a/include/constant.php b/include/constant.php index ed6d1201b..cc2868b6d 100644 --- a/include/constant.php +++ b/include/constant.php @@ -123,7 +123,7 @@ if (!defined("NOALYSS_PACKAGE_REPOSITORY")) { if (!defined("SYSINFO_DISPLAY")) { define("SYSINFO_DISPLAY", TRUE); } -define("DBVERSION", 194); +define("DBVERSION", 195); define("MONO_DATABASE", 25); define("DBVERSIONREPO", 20); define('NOTFOUND', '--not found--'); diff --git a/include/sql/patch/upgrade194.sql b/include/sql/patch/upgrade194.sql new file mode 100644 index 000000000..29c98388e --- /dev/null +++ b/include/sql/patch/upgrade194.sql @@ -0,0 +1,35 @@ +begin; + + +CREATE OR REPLACE FUNCTION comptaproc.trg_remove_script_tag() + RETURNS trigger + LANGUAGE plpgsql +AS $function$ + +begin + + NEW.agc_comment_raw:= regexp_replace(NEW.agc_comment_raw, '