Add DB prefix to db stuff

This commit is contained in:
Eperty123 2020-08-29 13:47:39 +02:00
parent 437063d78a
commit da293ba9b3

View File

@ -23,11 +23,11 @@ void Database::open() {
file.close();
// if exists, assign it
db = sqlite3pp::database("data.db");
DEBUGLOG(std::cout << "Database in operation" << std::endl; )
DEBUGLOG(std::cout << "[DB] Database in operation" << std::endl; )
}
else {
// if doesn't, create all the tables
DEBUGLOG(std::cout << "Creating new database" << std::endl;)
DEBUGLOG(std::cout << "[DB] Creating new database" << std::endl;)
db = sqlite3pp::database("data.db");
// creates accounts