diff --git a/web/src/main/webapp/WEB-INF/classes/setup/sql-metawal/migrate/4.4.2/migrate-default.sql b/web/src/main/webapp/WEB-INF/classes/setup/sql-metawal/migrate/4.4.2/migrate-default.sql index 14bdd511bd3..0ffbf9674a2 100644 --- a/web/src/main/webapp/WEB-INF/classes/setup/sql-metawal/migrate/4.4.2/migrate-default.sql +++ b/web/src/main/webapp/WEB-INF/classes/setup/sql-metawal/migrate/4.4.2/migrate-default.sql @@ -9,5 +9,16 @@ INSERT INTO Settings (name, value, datatype, position, internal) SELECT distinct 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'); +ALTER TABLE files + ALTER COLUMN content type oid USING content::oid; + +ALTER TABLE settings +ALTER COLUMN editable TYPE CHAR USING editable::char; + +ALTER TABLE settings + ALTER COLUMN editable SET DEFAULT 'y'; + +ALTER TABLE spg_page ALTER COLUMN link TYPE text; + UPDATE Settings SET value='4.4.2' WHERE name='system/platform/version'; UPDATE Settings SET value='SNAPSHOT' WHERE name='system/platform/subVersion';