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

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

11 lines
246 B
SQL

UPDATE test_definition
SET json = JSON_SET(
json,
'$.testPlatforms',
CAST(REPLACE(
JSON_EXTRACT(json, '$.testPlatforms'),
'"DBT"',
'"dbt"'
) AS JSON)
)
WHERE JSON_CONTAINS(json, '"DBT"', '$.testPlatforms');