mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-15 20:46:58 +00:00
feat: db migration for custom metrics (#14036)
This commit is contained in:
parent
274a3d1773
commit
cabc346a6b
@ -0,0 +1,8 @@
|
||||
-- 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';
|
@ -0,0 +1,8 @@
|
||||
-- Rename customMetricsProfile to customMetrics
|
||||
UPDATE profiler_data_time_series
|
||||
SET json = REPLACE(json::text, '"customMetricsProfile"', '"customMetrics"')::jsonb;
|
||||
|
||||
-- Delete customMetricsProfile from entity_extension
|
||||
-- This was not supported on the processing side before 1.3.
|
||||
DELETE FROM entity_extension ee
|
||||
where extension like '%customMetrics';
|
Loading…
x
Reference in New Issue
Block a user