Commit e53e100a authored by Jan Köster's avatar Jan Köster
Browse files

fix

parent cfbe8633
Loading
Loading
Loading
Loading
+1 −1
Changes for editor/src/webedit_db.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ void webedit::Database::initTables() {
    dbpp::DBResult res;
    const std::string keyColumn = dbpp::quoteIdentifier(*_db, "key");
    dbpp::SQL uuidTypeSql;
    const std::string uuidType = _db->getUUIDType(uuidTypeSql);
    const dbpp::SQL uuidType = _db->getUUIDType(uuidTypeSql);

    sql << "CREATE TABLE IF NOT EXISTS documents("
        <<   "id " << uuidType << ","
+1 −1
Changes for plugins/contact/contact.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ namespace blogi {
            dbpp::SQL sql;
            dbpp::DBResult res;
            dbpp::SQL uuidTypeSql;
            const std::string uuidType = Args->database[0]->getUUIDType(uuidTypeSql);
            const dbpp::SQL uuidType = Args->database[0]->getUUIDType(uuidTypeSql);
            sql << "CREATE TABLE IF NOT EXISTS contact_pending ("
                << "token " << uuidType << " PRIMARY KEY,"
                << "name character varying(255) NOT NULL,"
+1 −1
Changes for plugins/content/content.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1830,7 +1830,7 @@ std::cerr << "DEBUG: authid=" << authid << " currentAuthor=" << currentAuthor <<
            dbpp::SQL sql;
            dbpp::DBResult res;
            dbpp::SQL uuidTypeSql;
            const std::string uuidType = Args->database[0]->getUUIDType(uuidTypeSql);
            const dbpp::SQL uuidType = Args->database[0]->getUUIDType(uuidTypeSql);
            sql << "CREATE TABLE IF NOT EXISTS content ("
                <<   "id " << uuidType << " PRIMARY KEY,"
                <<     "title character varying(255) NOT NULL UNIQUE,"
+1 −1
Changes for plugins/gameinfo/gameinfo.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ namespace blogi {
            dbpp::SQL        sql;
            dbpp::DBResult   res;
            dbpp::SQL uuidTypeSql;
            const std::string uuidType = Args->database[0]->getUUIDType(uuidTypeSql);
            const dbpp::SQL uuidType = Args->database[0]->getUUIDType(uuidTypeSql);


            sql << "CREATE TABLE IF NOT EXISTS gameserver_protocols("
+1 −1
Changes for plugins/navbar/navbar.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ namespace blogi {
            dbpp::SQL sql;
            dbpp::DBResult res;
            dbpp::SQL uuidTypeSql;
            const std::string uuidType = Args->database[0]->getUUIDType(uuidTypeSql);
            const dbpp::SQL uuidType = Args->database[0]->getUUIDType(uuidTypeSql);

            sql << "CREATE TABLE IF NOT EXISTS navbar("
                <<   "id " << uuidType << " PRIMARY KEY,"
Loading