create db at the right place
This commit is contained in:
parent
c946bf6924
commit
5eef98074e
6 changed files with 40 additions and 22 deletions
|
@ -12,10 +12,9 @@ Marketplace::Marketplace()
|
|||
|
||||
void Marketplace::storeToDb()
|
||||
{
|
||||
const std::string DB_PATH{"/tmp/kima2.db"};
|
||||
//const std::string DB_PATH{"/tmp/kima2.db"};
|
||||
|
||||
Database db(DB_PATH);
|
||||
db.init();
|
||||
Database db;
|
||||
db.storeSellers(sellers_);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue