mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-29 02:45:25 +00:00
3 lines
202 B
SQL
3 lines
202 B
SQL
-- 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; |