New database tables not immediately available in server actions

Hello,

I ran in to the issue that newly created database tables and fields are not available in the server actions properties immediately, but do appear after a while. I did apply the database changes and refreshed it and also refreshed the server connect settings.

For example, I created a user table, but I can’t select it from the “Users & Permissions” settings modal from the Security Provider properties. Also I added an increments field there called user_id, which also can’t be selected from the “Identity” dropdown.

At some point new database tables become available, however I can’t determine when or why they suddenly appear after a while. Am I doing something wrong or missing a step to push the changes to be available in server connect or is this a bug?

Thanks for any help.

Never mind, found the solution in resetting the database connection options and saving it again, which seems to be something that should be done once in a while (or after Wappler updates?). Glad it works now :slight_smile:

1 Like