Database Structure version 1305

- Limit term_type index size
This commit is contained in:
Hypolite Petovan 2019-03-25 01:05:14 -04:00
parent 76414a5169
commit b8ec0e5e34
2 changed files with 3 additions and 3 deletions

View file

@ -1099,7 +1099,7 @@ CREATE TABLE IF NOT EXISTS `term` (
`global` boolean NOT NULL DEFAULT '0' COMMENT '',
`uid` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'User id',
PRIMARY KEY(`tid`),
INDEX `term_type` (`term`, `type`),
INDEX `term_type` (`term`(64), `type`),
INDEX `oid_otype_type_term` (`oid`,`otype`,`type`,`term`(32)),
INDEX `uid_otype_type_term_global_created` (`uid`,`otype`,`type`,`term`(32),`global`,`created`),
INDEX `uid_otype_type_url` (`uid`,`otype`,`type`,`url`(64)),