I’m guessing you reverted changes that were already applied to the database (which is done automatically upon creation of the change), meaning you didn’t reverse those migrations on Wappler’s UI before deleting them (reverting with Git)
Not sure if this qualifies as a bug if that’s the case. If that message didn’t appear, you would incorrectly create future migrations
Once again, the manager didn’t create a change file – rightly so – but it continues to show that changes need to be applied.
I had a previous git commit, so I tried to revert, but somehow the Database Manager has a different way of storing changes and now it’s looking for a migration file that doesn’t exist.
Actually reverting git actions and also database changes are tricky to do and have to be done in correct order to be successful.
The correct order when reverting in git is first to revert the database changes to the exact same point as in git and only after that then revert the git files.
So it is tricky and that is why we are planning to make it more integrated in the publishing process.
Now with publishing you can exactly stamp a specific version in git and we commit and apply db changes for it. For reverting exactly the same needs to be done but in reverse, first undo db changes and then revert git files. So we hope to integrate that in the ui soon.