mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-29 10:55:09 +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);
|