mirror of
https://github.com/xataio/pgroll.git
synced 2024-09-11 05:45:48 +03:00
d486aabe6a
Fix the `previous_version` function so that it works correctly for migrations applied in schema other than`public`. In particular, this meant that the previous version schema would not be removed on migration completion for migrations applied is schema other than `public`. Extend the test that checks the `--schema` flag is respected with the extra coverage that would have caught this. |
||
---|---|---|
.. | ||
errors.go | ||
state_test.go | ||
state.go |