From ec29694b0b316ba8678b869a5901524c94290640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Rodr=C3=ADguez=20Ponce?= Date: Mon, 27 Nov 2023 16:56:43 +0100 Subject: [PATCH] Create db-migrate-427.sql --- .../webapp/WEB-INF/classes/setup/sql-eea/db-migrate-427.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 web/src/main/webapp/WEB-INF/classes/setup/sql-eea/db-migrate-427.sql diff --git a/web/src/main/webapp/WEB-INF/classes/setup/sql-eea/db-migrate-427.sql b/web/src/main/webapp/WEB-INF/classes/setup/sql-eea/db-migrate-427.sql new file mode 100644 index 0000000000..627c969639 --- /dev/null +++ b/web/src/main/webapp/WEB-INF/classes/setup/sql-eea/db-migrate-427.sql @@ -0,0 +1,6 @@ +-- From 4.2.6 +INSERT INTO Settings (name, value, datatype, position, internal) SELECT distinct 'metadata/batchediting/accesslevel', 'Editor', 0, 12020, 'n' from settings WHERE NOT EXISTS (SELECT name FROM Settings WHERE name = 'metadata/batchediting/accesslevel'); + +-- From 4.2.7 +UPDATE Settings SET value='4.2.7' WHERE name='system/platform/version'; +UPDATE Settings SET value='0' WHERE name='system/platform/subVersion';