This commit is contained in:
MassiveAtoms 2019-07-21 22:13:34 -03:00
parent b987a2eb78
commit a54016340a
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.