mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 05:20:05 +00:00
Add DB prefix to db stuff
This commit is contained in:
parent
437063d78a
commit
da293ba9b3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user