mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 18:48:35 +00:00 
			
		
		
		
	update test def name len (#17522)
This commit is contained in:
		
							parent
							
								
									6ca44d2130
								
							
						
					
					
						commit
						f2f8f49cfc
					
				| @ -304,8 +304,10 @@ ALTER TABLE automations_workflow | ||||
| 
 | ||||
| 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 | ||||
| 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 installed_apps where name = 'SearchIndexingApplication'; | ||||
| DELETE from apps_marketplace where name = 'SearchIndexingApplication'; | ||||
| DELETE from apps_marketplace where name = 'SearchIndexingApplication'; | ||||
|  | ||||
| @ -276,8 +276,10 @@ jsonb_build_array(json#>'{dataModel,owner}')) where json #>> '{dataModel,owner}' | ||||
| 
 | ||||
| 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 | ||||
| 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'; | ||||
| DELETE from apps_marketplace where name = 'SearchIndexingApplication'; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Onkar Ravgan
						Onkar Ravgan