Hi,
you are welcome to send me the database export!
Which Visforms version do you want to run the tables with?
I decided on handling database updates automatically during the Visforms update process. Usually the update script handles all changes of the database properly. The script checks for the installed Visforms version (in #__extensions table) and run step by step all database updates necessary for the new version which is installed. I thought this would be the most end user friendly way (no additional buttons "update database...." needed. And I made it as secure as possible.
But for this implementation it is imperative that the Visforms version stored in the #_extensions table matches the structure of the visforms tables of that versions. If the version information in the #_extensions table is changed or the visforms tables are imported from a "not matching" installation, this causes serious problems.
I have made a lot of changes to the database over the Visforms version. The main problem is, that you always have to know the matching Visforms version, in order to know which database updates you have to run. I tried to make this as stable and secure as possible during the update process but if something is messed up, this will not work and in some cases (as with you) visforms will not work properly after an update. (I is a good thing, that most Joomla! users do not make changes on the database
but if people have the knowledge and make changes this can go wrong.)
I'm not sure, if it is really possible to cover that problem better with some database tools, but if you have some good ideas about that feel free to try it. All information needed is available in the script.php. But I must warn you, the information is scattered over many functions and I know myself good enough to admit, that I will only include code into Visforms if I am convinced of it. But if you device something really useful (which I think you will do if you start) that would of course be very fine!
I'll let you know when the next release is available for testing.
Kind Regards,
Aicha