Teddy 30d0b0c04a
MINOR: dbt migration fix (#23980)
* fix: migration

* fix: playwright test DBT -> dbt
2025-10-23 12:54:34 +02:00

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;