ALL objects can be saved to db now

This commit is contained in:
TinyAtoms
2019-06-29 22:30:47 -03:00
parent 0eee67d3d9
commit c058783a11
6 changed files with 76 additions and 10 deletions

View File

@ -77,7 +77,6 @@ void Park_time::update_db() {
statement.insert(53, std::to_string(id));
statement.insert(40, to_string(duration));
statement.insert(27, to_string(start_to_int() + duration));
std::cout << statement; // TODO: set some logging here
data::db.exec(statement);
}