fix(MainDb): use 255 chars for the storage of db_module_version.name instead of 16

This commit is contained in:
Ronan Abhamon 2017-12-19 15:22:05 +01:00
parent 5294d027f1
commit 3f7a82b985

View file

@ -1330,7 +1330,7 @@ static constexpr string &blobToString (string &in) {
*session <<
"CREATE TABLE IF NOT EXISTS db_module_version ("
" name" + varcharPrimaryKeyStr(16) + ","
" name" + varcharPrimaryKeyStr(255) + ","
" version INT UNSIGNED NOT NULL"
") " + charset;