One of the db.json
files keeps getting corrupted causing different unwanted behaviours.
The issue of today is that a server action on production seems broken.
Upon investigating I open the server action and check the query, I get the following error:
To fix this error (because it definitely exists). I have to right click on that specific table and refresh the schema:
IT does NOT work to refresh with any of these 3 buttons
It HAS to be the specific table.
Now this is probably caused with git merges as these issues came after we started working with other wappler freelancers. Someone on another branch has a different db.json file as their database looks different (they’re adding columns) which the other branch doesn’t have. So then after migrating, the db.json should be regenerated fully and completely (I assume!)
As far as I understand, the db.json should refresh automatically and completely (with the big button on the top or by at least rightclicking db
) to prevent this.
This is the file that is the issue:
But please help find the core issue and fix.
@sid Do you and your team perhaps have a solution for this issue?