Workflow retool database force schema refresh only targets production

Force refreshing retool database scheme from within a workflow in an environment other than production, is only requesting a refresh for the production database, instead of the environment I'm currently viewing.

Context:
I started creating a workflow but realised I hadn't defined a schema for the retool database in my development environment.
So I setup the schema in the development environment, but can't get my workflow query to see the updated schema after clicking the refresh button.
I thought I was doing something stupid until I looked at my network requests, and can see it's only attempting to update the production environment schema.

I'm actually still stuck, I don't know how to get it to refresh the schema.

I ended up copying the curl to my terminal and manually changing the environment to develop, and can now see the updated schema after refreshing the page.
In case anyone else gets stuck here.

1 Like