Even if not fully supported as such, it would be great if Wappler could just treat a system versioned table as a normal table, so it can still retrieve the schema.
I know that full support for this would mean allowing their creation etc. However just keeping them visible would be all I personally require.
The reason I need to use this, is easiest explained in giving you an example of my scenario.
I am working with a few different booking providers for accommodation and activities, each sends availability and booking data via web hooks back to my wappler built system.
A booking web hook sends the entire booking, which could be 100+ lines of json with multiple arrays and objects.
Each part of that booking needs to have various actions attached, payments go to stripe, as well as tripletex for invoicing, availability goes to resource manager tools as well as staff scheduling tools.
So the entire booking data gets stored in my database for its various processing needs.
When a user on the third party booking API makes a change to their booking, is where I start having issues, as if a product is removed it needs a refund or that portion, if only a deposit was paid initially then the remainder of the payment needs to be charged and invoiced/credited etc.
The 4 third party booking APIs I am currently working with do not send a web hook update with only the change, but instead send the entire booking again.
So in reality even if the user only added a note to their booking saying, they are vegetarian, I have no way of knowing that only that changed, and there is no need to do more in stripe, invoicing, staff calendar schedules etc.
On the other hand the change could be far more complex and my processing may need to go do many tasks based on the change.
Using versioned tables, I am able to compare each current record with each historic record comparing the contents of each column and foreign table linkages to find only the change, so I can run the additional processing as needed based on what was actually altered.
This is mostly all working currently using versioned tables, and scripts to loop through and do full comparisons.
The only issue is, any alteration to the schema of these tables, as well as any new versioned tables created are invisible in Wappler, and I have to manually cheat the database schema file and manually add the json to allow usage in Wappler.
I understand full support would be a far bigger scope, but for my needs at least, I am doing all the manual work in Navicat, and only need wappler to read the structure.