mzabani / codd

Codd is a simple-to-use CLI tool that applies plain postgres SQL migrations atomically with strong and automatic cross-environment schema equality checks.
Other
38 stars 1 forks source link

Copy instead of move file on `codd add` #182

Closed mzabani closed 7 months ago

mzabani commented 7 months ago

On failure it needs to be moved back, and some editors don't like that when you have the original open.

If it can't be deleted after being added, just print an error, but don't change the exit code.