This is frustrating, I am still having issue with the database scheme not updating when I add anew field in wappler using MYSQL on docker direct target even though in Navicat it has added the field as expected.
Is anyone else having these issues. Sometimes I have to shut down and start or restart and it may decide to update or not…
Anyone else or is it just me.
MYSQL 8 docker on Mac?
4.1.3 currently but happened in previous too and hoped this version would fix it.
Sometimes I have the same issue with postgres + docker. When it’s persistent on not updating/changing I’m changing stuff on pgadmin (postgres database management tool) and then refresh the database on wappler.
Perhaps you could use a tool for mysql like MySQL Workbench until this bug is resolved
Hi. I have found that refreshing the schema on tables node & then on the actualy table’s node helps.
Or, in the query builder, there is a refresh icon that helps as well.
I have never seen the schema update automatically, so don’t think that is even an option.
I am working with MariaDB and Docker and have not found this to be a problem, although saying that maybe I am just used to it, so after making any database alteration, I instantly go to Database manager, right click the table I know i just altered and refresh schema, then back to server connect to use it and it never fails.
Using the refresh inside the query builder itself seems inconsistent, sometimes it works fine for me, which is why i have always used the database manager refresh first.
The trick I have found here is, after refresh, if the columns or tables don't show up: close the query builder and open it again.
I raised a bug report for it a few weeks ago as well. Acknowledged, but not fixed yet.
All parts. In other words, you add a column outside of Wappler and come back to an existing query or insert, etc. For a query, the new column does not show in the list of columns nor in the conditions dropdowns, even after clicking the refresh icon within the builder. For insert, the new column is not available in the Add column dropdown.