minior fix
parent
853c58a853
commit
e991337bee
|
@ -145,6 +145,7 @@ namespace db
|
|||
|
||||
auto make_message_table()
|
||||
{
|
||||
using namespace sqlite_orm;
|
||||
return make_table("messages",
|
||||
make_column("messageID", &message_t::messageID, primary_key()),
|
||||
make_column("channelID", &message_t::channelID),
|
||||
|
|
2
libs/blt
2
libs/blt
|
@ -1 +1 @@
|
|||
Subproject commit 9b4d0cc9a8493c608ab0075ab2c6a2b66061f3be
|
||||
Subproject commit 9ad652195b0a69f9977d313eff4dd01a7890f1df
|
|
@ -27,7 +27,7 @@ struct db_obj
|
|||
std::queue<blt::u64> user_load_queue;
|
||||
std::mutex user_load_queue_mutex;
|
||||
database_type db;
|
||||
std::thread* thread;
|
||||
std::thread* thread = nullptr;
|
||||
|
||||
public:
|
||||
explicit db_obj(blt::u64 guildID, const std::string& path): guildID(guildID), db(make_database(path + "/" + std::to_string(guildID) + "/"))
|
||||
|
|
Loading…
Reference in New Issue