Postgres > when making multiple separate change uploads the second fails everytime

Wappler Version : 4.11
Operating System : Mac
Server Model: NodeJS
Database Type: Postgres
Hosting Type: Docker Local

Expected behavior

What do you think should happen?

I make changes in the DB Manager to my Postgres DB. This could be any change, add a field, update a field, add a new table etc.
I then click upload changes

I should then be able to make more changes and do the same process without issue.

Actual behavior

What actually happens?

The second lot of changes always fails, 100%. When I open the knex file what is actually happening is that the two rounds of changes are merged together in the new file (so the previously changed and uploaded changes are merged with the new changes). Due to this it will error stating that X table or X field already exists etc.

The only way to solve this is to refresh the left panel, then refresh the schema and THEN make the new changes. This resolves the issue but is very unproductive.

This has happened since W3’s.

Community Page
Last updated: