Shorten index length for channel library table (#543)

This commit is contained in:
calzoneman 2015-12-21 17:38:46 -08:00
parent 01004c6a3f
commit e88971a011
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ const TBL_LIBRARIES = "" +
"`type` VARCHAR(2) NOT NULL," +
"`meta` TEXT NOT NULL," +
"`channel` VARCHAR(30) NOT NULL," +
"PRIMARY KEY(`id`, `channel`), INDEX(`channel`, `title`)" +
"PRIMARY KEY(`id`, `channel`), INDEX(`channel`, `title`(227))" +
") CHARACTER SET utf8";
const TBL_RANKS = "" +