mingo-app / mingo

Found a bug? have a FR ?
60 stars 2 forks source link

Dump & Restore from saved action doesn't work if target database was recreated #585

Closed jmisur closed 12 months ago

jmisur commented 1 year ago

I saved a simple dump & restore action:

Problem: When I drop entire database "test" and then create new with the same name, the Load action get's stuck at Destination step. This step is unchecked but also stuck as clicking on "Change" button does nothing and I cannot continue.

I would expect the Load action to pick up the target database even if it was dropped and recreated in the meantime.

tothradoslav commented 1 year ago

Thank you for this. Mingo has it's own ids for databases and it was using these to store the dump settings. I have changed this so that the database names are stable across drop/recreate.

However, you would still loose the dump if you recreated the underlying connection.

Will be out in next release.

tothradoslav commented 1 year ago

We have just released a release candidate with this issue corrected. Please check it out here: https://github.com/mingo-app/mingo/releases/tag/v.1.13.4

jmisur commented 9 months ago

FYI this problem is again present in 1.13.5