sql/V5.8.4.0__Cms_term_meta_is_added2.sql

Summary

Maintainability
Test Coverage
/*
 * The key must be unique for a term not a tenant
 */
ALTER TABLE `cms_term_metas` 
    DROP INDEX `key_unique_idx`;

CREATE UNIQUE INDEX `key_unique_idx` 
    ON `cms_term_metas`(`term_id`, `key`);