mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-17 13:36:56 +00:00
Change Query for Postgres
This commit is contained in:
parent
9309cf94c1
commit
30a3f32b0f
@ -277,7 +277,7 @@ jsonb_build_array(json#>'{dataModel,owner}')) where json #>> '{dataModel,owner}'
|
||||
CREATE INDEX IF NOT EXISTS extension_index ON entity_extension (extension);
|
||||
|
||||
-- Remove SearchIndexing for api Service, collection and endpoint
|
||||
DELETE er FROM entity_relationship er JOIN installed_apps ia ON er.fromId = ia.id OR er.toId = ia.id WHERE ia.name = 'SearchIndexingApplication';
|
||||
DELETE er FROM entity_relationship er JOIN apps_marketplace ia ON er.fromId = ia.id OR er.toId = ia.id WHERE ia.name = 'SearchIndexingApplication';
|
||||
DELETE FROM entity_relationship er USING installed_apps ia WHERE (er.fromId = ia.id OR er.toId = ia.id) AND ia.name = 'SearchIndexingApplication';
|
||||
DELETE FROM entity_relationship er USING apps_marketplace ia WHERE (er.fromId = ia.id OR er.toId = ia.id) AND ia.name = 'SearchIndexingApplication';
|
||||
DELETE from installed_apps where name = 'SearchIndexingApplication';
|
||||
DELETE from apps_marketplace where name = 'SearchIndexingApplication';
|
Loading…
x
Reference in New Issue
Block a user