On two different occasions I've made changes to my project design (including changes to the DB) which have broken the project after update. I believe that in both occasions the dbconnection.my.mysqli.php or some related file was not updated after the project change.
First occasion I changed the user table from a table called 'estimator' to 'user'. After making the change I looked for every occasion where 'estimator' was called in the application and changed it to the corresponding field in 'user'. All of the query's look good in the application. I can build the project and remove the data from 'estimator' and the program runs fine, but as soon as I remove the table I get a php error that referencing a query in dbconnection.my.mysqli.php which references the original table (which should be completely gone from the program).
Second occasion I set up user can only see own data and set a field in each table which is 'table_own'. Later I decided I did not want this security and changed it back to everyone sees everything. I removed the fields 'table_own' but when I run the application I get a php error that refers to a query in dbconnection.my.mysqli.php that is selecting the removed 'table_own' field.
Is there something I can do to force to the application to recognize removed tables or fields so that they are not selected in queries. I've tried saving, syncing the database, and doing full rebuilds to no avail.