Skip to content

Commit

Permalink
moved migration script to 442
Browse files Browse the repository at this point in the history
  • Loading branch information
wangf1122 committed Jan 15, 2024
1 parent 3d172b8 commit 6e08271
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ INSERT INTO Settings (name, value, datatype, position, internal) VALUES ('system
INSERT INTO Settings (name, value, datatype, position, internal) VALUES ('system/publication/doi/doipassword', '', 0, 194, 'n');
INSERT INTO Settings (name, value, datatype, position, internal) VALUES ('system/publication/doi/doikey', '', 0, 195, 'n');
INSERT INTO Settings (name, value, datatype, position, internal) VALUES ('system/publication/doi/doilandingpagetemplate', 'http://localhost:8080/geonetwork/srv/resources/records/{{uuid}}', 0, 195, 'n');
INSERT INTO Settings (name, value, datatype, position, internal) VALUES ('metadata/history/enabled', 'false', 2, 9171, 'n');

UPDATE StatusValues SET type = 'workflow';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ INSERT INTO Settings (name, value, datatype, position, internal) VALUES ('region

ALTER TABLE public.spg_page ADD icon varchar NULL;

INSERT INTO Settings (name, value, datatype, position, internal) VALUES ('metadata/history/enabled', 'false', 2, 9171, 'n');
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 6e08271

Please sign in to comment.