diff --git a/Customer.cpp b/Customer.cpp index 450b425..03b1a5f 100644 --- a/Customer.cpp +++ b/Customer.cpp @@ -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))); diff --git a/test.db3 b/test.db3 index 6b7df2c..164db66 100644 Binary files a/test.db3 and b/test.db3 differ