This commit is contained in:
MassiveAtoms 2019-07-21 22:10:27 -03:00
parent 9fcd1214c7
commit 61c27028bf
2 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ void Customer::update_db() {
string statement =
"UPDATE Customer SET name = '', password = '', "
"vehicle = '', telephone = '', role = '' where id = '';";
statement.insert(89, to_string(id));
statement.insert(98, to_string(id));
statement.insert(84, to_string(role));
statement.insert(73, telephone);
statement.insert(57, to_string(int(vehicle)));

BIN
test.db3

Binary file not shown.