From 5d83561a74c9300953bf10f1df44ceee61461453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Garc=C3=ADa?= Date: Wed, 6 Nov 2024 10:26:24 +0100 Subject: [PATCH] Configuration to display an application banner - fix database migration script. Follow up: https://github.com/geonetwork/core-geonetwork/pull/8416 --- .../WEB-INF/classes/setup/sql/migrate/v446/migrate-default.sql | 2 -- .../WEB-INF/classes/setup/sql/migrate/v447/migrate-default.sql | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v446/migrate-default.sql b/web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v446/migrate-default.sql index 0876824c1fa..58db297c2f8 100644 --- a/web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v446/migrate-default.sql +++ b/web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v446/migrate-default.sql @@ -2,5 +2,3 @@ UPDATE Settings SET value='4.4.6' WHERE name='system/platform/version'; UPDATE Settings SET value='0' WHERE name='system/platform/subVersion'; INSERT INTO Settings (name, value, datatype, position, internal) VALUES ('system/userSelfRegistration/domainsAllowed', '', 0, 1911, 'y'); - -INSERT INTO Settings (name, value, datatype, position, internal) VALUES ('system/banner/enable', 'false', 2, 1920, 'n'); diff --git a/web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v447/migrate-default.sql b/web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v447/migrate-default.sql index 0a97404565b..7cebc07e38d 100644 --- a/web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v447/migrate-default.sql +++ b/web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v447/migrate-default.sql @@ -1,2 +1,4 @@ UPDATE Settings SET value='4.4.7' WHERE name='system/platform/version'; UPDATE Settings SET value='SNAPSHOT' WHERE name='system/platform/subVersion'; + +INSERT INTO Settings (name, value, datatype, position, internal) VALUES ('system/banner/enable', 'false', 2, 1920, 'n');