Loading plugins/staticpage/static.cpp +1 −1 Changes for plugins/staticpage/static.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ void blogi::StaticPage::initPlugin(){ dbpp::SQL sql; dbpp::DBResult res; sql << "CREATE TABLE IF NOT EXISTS static_content (" << "id uuid PRIMARY KEY," << "id " << Args->database[0]->getUUIDType(sql) << " PRIMARY KEY," << "text text," << "meta text," << "url character varying(255) NOT NULL UNIQUE" Loading src/blogi.cpp +1 −1 Changes for src/blogi.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ blogi::Blogi::Blogi(netplus::socket &serversocket,bool debug) : HttpEvent(server dbpp::DBResult optres; optsql << "CREATE TABLE IF NOT EXISTS options (" << "id uuid DEFAULT gen_random_uuid() PRIMARYKEY," << "id " << PlgArgs->database[0]->getUUIDType(optsql) << " DEFAULT gen_random_uuid() PRIMARYKEY," << "key character varying(255) NOT NULL," << "value character varying(255) NOT NULL);"; Loading Loading
plugins/staticpage/static.cpp +1 −1 Changes for plugins/staticpage/static.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ void blogi::StaticPage::initPlugin(){ dbpp::SQL sql; dbpp::DBResult res; sql << "CREATE TABLE IF NOT EXISTS static_content (" << "id uuid PRIMARY KEY," << "id " << Args->database[0]->getUUIDType(sql) << " PRIMARY KEY," << "text text," << "meta text," << "url character varying(255) NOT NULL UNIQUE" Loading
src/blogi.cpp +1 −1 Changes for src/blogi.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ blogi::Blogi::Blogi(netplus::socket &serversocket,bool debug) : HttpEvent(server dbpp::DBResult optres; optsql << "CREATE TABLE IF NOT EXISTS options (" << "id uuid DEFAULT gen_random_uuid() PRIMARYKEY," << "id " << PlgArgs->database[0]->getUUIDType(optsql) << " DEFAULT gen_random_uuid() PRIMARYKEY," << "key character varying(255) NOT NULL," << "value character varying(255) NOT NULL);"; Loading