]> git.mxchange.org Git - friendica.git/blobdiff - database.sql
Database Structure version 1305
[friendica.git] / database.sql
index 10a428ffff9a9ac0fcad4fde766942c00b4e9bc4..0e7e5a3437042fb409eb5e6799c2db0b8fa4d0da 100644 (file)
@@ -1099,6 +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 `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)),