Skip to content

Commit

Permalink
Fix sql syntax for migrate to 4.4.4 script (geonetwork#7956)
Browse files Browse the repository at this point in the history
  • Loading branch information
jodygarnett authored Apr 15, 2024
1 parent e7d520b commit 2ac448b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ UPDATE Metadata SET data = replace(data, 'http://standards.iso.org/iso/19115/-3/
UPDATE Settings SET value='4.4.4' WHERE name='system/platform/version';
UPDATE Settings SET value='SNAPSHOT' WHERE name='system/platform/subVersion';

UPDATE settings SET name='metadata/history/enabled' WHERE name='system/metadata/history/enabled'
UPDATE settings SET name='metadata/history/enabled' WHERE name='system/metadata/history/enabled';
INSERT INTO Settings (name, value, datatype, position, internal) SELECT distinct 'metadata/history/accesslevel', 'Editor', 0, 12021, 'n' from settings WHERE NOT EXISTS (SELECT name FROM Settings WHERE name = 'metadata/history/accesslevel');

0 comments on commit 2ac448b

Please sign in to comment.