working
This commit is contained in:
parent
9fcd1214c7
commit
61c27028bf
@ -73,7 +73,7 @@ void Customer::update_db() {
|
|||||||
string statement =
|
string statement =
|
||||||
"UPDATE Customer SET name = '', password = '', "
|
"UPDATE Customer SET name = '', password = '', "
|
||||||
"vehicle = '', telephone = '', role = '' where id = '';";
|
"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(84, to_string(role));
|
||||||
statement.insert(73, telephone);
|
statement.insert(73, telephone);
|
||||||
statement.insert(57, to_string(int(vehicle)));
|
statement.insert(57, to_string(int(vehicle)));
|
||||||
|
Loading…
Reference in New Issue
Block a user