From 8015fec51c403d748defb16af27c4159887e58a9 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 13 Dec 2017 15:30:32 +0100 Subject: [PATCH] fix(MainDb): repair db init with mysql, event_id key must be BIGINIT UNSIGNED on conference_subject_event --- src/db/main-db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/main-db.cpp b/src/db/main-db.cpp index c1925c8e7..176d61b40 100644 --- a/src/db/main-db.cpp +++ b/src/db/main-db.cpp @@ -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,"