mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-22 13:49:27 +00:00
11 lines
255 B
SQL
11 lines
255 B
SQL
UPDATE test_definition
|
|
SET json = jsonb_set(
|
|
json::jsonb,
|
|
'{testPlatforms}',
|
|
REPLACE(
|
|
(json::jsonb -> 'testPlatforms')::text,
|
|
'"DBT"',
|
|
'"dbt"'
|
|
)::jsonb
|
|
)::json
|
|
WHERE json::jsonb -> 'testPlatforms' @> '"DBT"'::jsonb; |