mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-25 22:49:12 +00:00
* Bug: Missing migration script after #10486 * Minor change * Address PR comments
This commit is contained in:
parent
4dd395e90a
commit
2624a34933
@ -220,3 +220,7 @@ WHERE serviceType = 'Salesforce';
|
||||
UPDATE dbservice_entity
|
||||
SET json = JSON_REMOVE(json, '$.connection.config.supportsProfiler')
|
||||
WHERE serviceType = 'DynamoDB';
|
||||
|
||||
-- Update TagLabels source from 'Tag' to 'Classification' after #10486
|
||||
UPDATE table_entity SET json = REGEXP_REPLACE(json, "\"source\"\\s*:\\s*\"Tag\"", "\"source\": \"Classification\"");
|
||||
UPDATE ml_model_entity SET json = REGEXP_REPLACE(json, "\"source\"\\s*:\\s*\"Tag\"", "\"source\": \"Classification\"");
|
||||
|
||||
@ -220,3 +220,7 @@ WHERE serviceType = 'Salesforce';
|
||||
UPDATE dbservice_entity
|
||||
SET json = json::jsonb #- '{connection,config,supportsProfiler}'
|
||||
WHERE serviceType = 'DynamoDB';
|
||||
|
||||
-- Update TagLabels source from 'Tag' to 'Classification' after #10486
|
||||
UPDATE table_entity SET json = REGEXP_REPLACE(json::text, '"source"\s*:\s*"Tag\"', '"source": "Classification"', 'g')::jsonb;
|
||||
UPDATE ml_model_entity SET json = REGEXP_REPLACE(json::text, '"source"\s*:\s*"Tag\"', '"source": "Classification"', 'g')::jsonb;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user