mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-07 22:44:08 +00:00
update test def name len (#17522)
This commit is contained in:
parent
6ca44d2130
commit
f2f8f49cfc
@ -304,6 +304,8 @@ ALTER TABLE automations_workflow
|
|||||||
|
|
||||||
ALTER TABLE entity_extension ADD INDEX extension_index(extension);
|
ALTER TABLE entity_extension ADD INDEX extension_index(extension);
|
||||||
|
|
||||||
|
ALTER TABLE test_definition MODIFY COLUMN `name` VARCHAR(512) GENERATED ALWAYS AS (json ->> '$.name') NOT NULL;
|
||||||
|
|
||||||
-- Remove SearchIndexing for api Service, collection and endpoint
|
-- 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 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 er FROM entity_relationship er JOIN apps_marketplace ia ON er.fromId = ia.id OR er.toId = ia.id WHERE ia.name = 'SearchIndexingApplication';
|
||||||
|
|||||||
@ -276,6 +276,8 @@ jsonb_build_array(json#>'{dataModel,owner}')) where json #>> '{dataModel,owner}'
|
|||||||
|
|
||||||
CREATE INDEX IF NOT EXISTS extension_index ON entity_extension (extension);
|
CREATE INDEX IF NOT EXISTS extension_index ON entity_extension (extension);
|
||||||
|
|
||||||
|
ALTER TABLE test_definition ALTER COLUMN name TYPE VARCHAR(512);
|
||||||
|
|
||||||
-- Remove SearchIndexing for api Service, collection and endpoint
|
-- Remove SearchIndexing for api Service, collection and endpoint
|
||||||
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 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 entity_relationship er USING apps_marketplace ia WHERE (er.fromId = ia.id OR er.toId = ia.id) AND ia.name = 'SearchIndexingApplication';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user