mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 18:48:35 +00:00 
			
		
		
		
	
		
			
	
	
		
			5 lines
		
	
	
		
			343 B
		
	
	
	
		
			MySQL
		
	
	
	
	
	
		
		
			
		
	
	
			5 lines
		
	
	
		
			343 B
		
	
	
	
		
			MySQL
		
	
	
	
	
	
|   | -- Add displayName virtual column to glossary_term_entity for efficient search
 | ||
|  | ALTER TABLE glossary_term_entity ADD COLUMN displayName VARCHAR(256) GENERATED ALWAYS AS (json ->> '$.displayName') STORED;
 | ||
|  | 
 | ||
|  | -- Create index on displayName for efficient LIKE queries
 | ||
|  | CREATE INDEX idx_glossary_term_displayName ON glossary_term_entity (displayName);
 |