From 61c27028bfce6a1abbbd66f33ddc2c6f5fa644d7 Mon Sep 17 00:00:00 2001 From: MassiveAtoms Date: Sun, 21 Jul 2019 22:10:27 -0300 Subject: [PATCH] working --- Customer.cpp | 2 +- test.db3 | Bin 57344 -> 57344 bytes 2 files changed, 1 insertion(+), 1 deletion(-) 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 6b7df2c909eedb39f9bcdc1945894e881f4742e5..164db66ce8d7e3ddbd392386142e33821bbee0aa 100644 GIT binary patch delta 345 zcmZoTz}#?vd4e>f{6raNR(S?J6NQZ_3(l(uuy1GJFXQ{bm%;mpH=5@Pk1zKzZX2$x zTsoW!IVCt2bLg>e-`LpCE>xP%!64h{&ne20Tv}X`pPO1Vxlv9&v?4d#FvT<1E!`}# zFfcOGB_KS=#JF6=!ZO?3AhjgOywEVm(9kr|rOeIKFf=r|+%(tAATc-~sHD_0BR#`A zH7eNz2#V7<7{q~wi*pnwrYC|;j!5-&Epjh1%1aAOcXBH$5Abs`EXXKV3Cj;J2o7<~ zHP$yMax=(ti7?Ig%t>_74oC^GsPb|TNVUjGs`9AJ2}sPhFgLX@El%ZNkOmqp3^Y0| zu{b3S