OpenMetadata/bootstrap/sql/migrations/native/1.3.0/mysql/postDataMigrationSQLScript.sql

8 lines
357 B
SQL

-- Rename customMetricsProfile to customMetrics
UPDATE profiler_data_time_series
SET json = REPLACE(json, '"customMetricsProfile"', '"customMetrics"');
-- Delete customMetricsProfile from entity_extension
-- This was not supported on the processing side before 1.3.
DELETE FROM openmetadata_db.entity_extension ee
where extension like '%customMetrics';