After table change I lost settings

I made a change to a table and after my project did not sync up and all of my set up was changed.
I tried going back in history but none of the old versions have the changes either.

Is there any way for me to get back my original versions?

What is the correct process when a table change is made to preserve what you have in your project?

I was able to get it back but after much trial and error…mostly error.

Again I’m sure there is a sequence that must be followed, best-case when making underlying table changes, can someone share?

After any changes in database schema, save your project, then sync your project, save again, so that you have backup before and after sync.

PHPMaker will always auto-backup for the latest 10 changes of your project. Just check it out from “C:\Users{youruser}\Documents\PHPMaker\Backup” folder.