mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-30 11:26:23 +00:00
6 lines
370 B
MySQL
6 lines
370 B
MySQL
![]() |
-- Add displayName virtual column to glossary_term_entity for efficient search
|
||
|
ALTER TABLE glossary_term_entity ADD COLUMN IF NOT EXISTS displayName VARCHAR(256) GENERATED ALWAYS AS (json ->> 'displayName') STORED;
|
||
|
|
||
|
-- Create index on displayName for efficient LIKE queries
|
||
|
CREATE INDEX IF NOT EXISTS idx_glossary_term_displayName ON glossary_term_entity (displayName);
|