fix: migration for postgres

This commit is contained in:
Keshav Mohta 2025-10-03 14:45:35 +05:30
parent efd48eb833
commit ef232a234b
No known key found for this signature in database
GPG Key ID: 9481AB99C36FAE9C

View File

@ -9,4 +9,4 @@ SET json = jsonb_set(
true
)
WHERE serviceType in ('Databricks', 'UnityCatalog')
AND json -> 'connection' -> 'config' ? 'token';
AND jsonb_exists(json -> 'connection' -> 'config', 'token');