Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

3 lines
202 B
MySQL
Raw Normal View History

-- Update entity_extension to move domain to array
update entity_extension set json = jsonb_set(json#-'{domain}', '{domains}',
jsonb_build_array(json#>'{domain}')) where json #>> '{domain}' is not null;