rubenv / sql-migrate

SQL schema migration tool for Go.
MIT License
3.23k stars 280 forks source link

Log applied migration id #40

Closed tamalsaha closed 8 years ago

rubenv commented 8 years ago

I won't merge this: sql-migrate can be used as a library, where log output may not be desired.

tamalsaha commented 8 years ago

@rubenv, understood. We are using this as a lib. Having no logging was causing us to wonder when things failed. May there can be verbose option with default false to preserve current behavior.

rubenv commented 8 years ago

@TamalSaha What went wrong should be present in the error returned by Exec(), no?

tamalsaha commented 8 years ago

In our case, nothing went wrong, but it was also doing nothing. Sort of got stuck. We don't know what happened yet.