fix(MainDb): repair db init with mysql, event_id key must be BIGINIT UNSIGNED on conference_subject_event

This commit is contained in:
Ronan Abhamon 2017-12-13 15:30:32 +01:00
parent beae866a67
commit 8015fec51c

View file

@ -1157,7 +1157,7 @@ static inline string blobToString (soci::blob &in) {
*session <<
"CREATE TABLE IF NOT EXISTS conference_subject_event ("
" event_id" + primaryKeyStr("BIGINT") + ","
" event_id" + primaryKeyStr("BIGINT UNSIGNED") + ","
" subject VARCHAR(255) NOT NULL,"