OpenMetadata/bootstrap/sql/migrations/native/1.4.2/postgres/postDataMigrationSQLScript.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
207 B
MySQL
Raw Normal View History

-- Fix hanging partition migration
-- in 1.4.x `tablePartition.intervalType` should not exists
UPDATE table_entity
SET json = json - 'tablePartition'
WHERE json->'tablePartition'->'intervalType' is not null;