mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-18 14:06:59 +00:00
add index on extension_index table (#17496)
This commit is contained in:
parent
d587e6f8e6
commit
424a03f49c
@ -298,3 +298,5 @@ update table_entity set json = JSON_SET(
|
|||||||
JSON_EXTRACT(json, '$.dataModel.owner')
|
JSON_EXTRACT(json, '$.dataModel.owner')
|
||||||
)
|
)
|
||||||
) where json -> '$.dataModel.owner' is not null;
|
) where json -> '$.dataModel.owner' is not null;
|
||||||
|
|
||||||
|
ALTER TABLE entity_extension ADD INDEX extension_index(extension);
|
||||||
|
@ -280,3 +280,5 @@ update automations_workflow set json = json#-'{owner}' where json #>> '{owner}'
|
|||||||
|
|
||||||
update table_entity set json = jsonb_set(json#-'{dataModel,owner}', '{dataModel,owners}',
|
update table_entity set json = jsonb_set(json#-'{dataModel,owner}', '{dataModel,owners}',
|
||||||
jsonb_build_array(json#>'{dataModel,owner}')) where json #>> '{dataModel,owner}' is not null;
|
jsonb_build_array(json#>'{dataModel,owner}')) where json #>> '{dataModel,owner}' is not null;
|
||||||
|
|
||||||
|
CREATE INDEX IF NOT EXISTS extension_index ON entity_extension (extension);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user