Wappler Version : 5.1.0
Operating System : Windwos 11
Server Model: php
Database Type: Mysql
Hosting Type: MAMP
Expected behavior
Schema refresh on databasce actions should fetch changes. Connection to database should change according to target.
Actual behavior
I noticed when trying to add an insert action that wappler was not picking up schema changes (a new table added), even after refreshing the schema manually, repeatedly. When checking the connection under the Database connections dropdown, I noticed the credentials are those of another target, not the one I’m working on (I have two set up).
How to reproduce
1-Create 2 targets
2-Make db changes to one of them (I suggest the active one)
3-verify if you can update the schema and/or if the database connection changes with the target
In the screenshot, the credential are not from the active target. They don’t get updated to the active target even after switching them back and forth, with the API action file closed.
Last updated: