mirror of https://github.com/calzoneman/sync.git
Shorten index length for channel library table (#543)
This commit is contained in:
parent
01004c6a3f
commit
e88971a011
|
@ -81,7 +81,7 @@ const TBL_LIBRARIES = "" +
|
||||||
"`type` VARCHAR(2) NOT NULL," +
|
"`type` VARCHAR(2) NOT NULL," +
|
||||||
"`meta` TEXT NOT NULL," +
|
"`meta` TEXT NOT NULL," +
|
||||||
"`channel` VARCHAR(30) 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";
|
") CHARACTER SET utf8";
|
||||||
|
|
||||||
const TBL_RANKS = "" +
|
const TBL_RANKS = "" +
|
||||||
|
|
Loading…
Reference in New Issue