mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-22 05:36:11 +00:00
11 lines
255 B
MySQL
11 lines
255 B
MySQL
|
|
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;
|