Describe the bug
When trying to run migration with the database down, the application exits with exit code 0.
To Reproduce
Steps to reproduce the behavior:
- Bring the PostgresDB down.
- Start migration using command -
go run main.go migrate
echo $?
# 0
Expected behavior
should panic and exit with exit code > 0