diff --git a/src/administrator/components/com_weblinks/sql/updates/postgresql/5.1.0.sql b/src/administrator/components/com_weblinks/sql/updates/postgresql/5.1.0.sql index fa4a8406fa..5a6521c205 100644 --- a/src/administrator/components/com_weblinks/sql/updates/postgresql/5.1.0.sql +++ b/src/administrator/components/com_weblinks/sql/updates/postgresql/5.1.0.sql @@ -1,15 +1,19 @@ UPDATE "#__content_types" SET "table" = jsonb_set( - jsonb_set("table"::jsonb, '{special,type}', '"WeblinkTable"'), - '{special,prefix}', '"Joomla\\Component\\Weblinks\\Administrator\\Table\\"', + jsonb_set( + jsonb_set("table"::jsonb, '{special,type}', '"WeblinkTable"'), + '{special,prefix}', '"Joomla\\Component\\Weblinks\\Administrator\\Table\\"' + ), '{dbtable,prefix}', '"Joomla\\CMS\\Table\\"' ) WHERE "type_alias" = 'com_weblinks.weblink'; UPDATE "#__content_types" SET "table" = jsonb_set( - jsonb_set("table"::jsonb, '{special,type}', '"CategoryTable"'), - '{special,prefix}', '"Joomla\\Component\\Categories\\Administrator\\Table\\"', + jsonb_set( + jsonb_set("table"::jsonb, '{special,type}', '"CategoryTable"'), + '{special,prefix}', '"Joomla\\Component\\Categories\\Administrator\\Table\\"' + ), '{dbtable,prefix}', '"Joomla\\CMS\\Table\\"' ) WHERE "type_alias" = 'com_weblinks.category';