mattes / migrate

Database migrations. CLI and Golang library.
Other
2.29k stars 326 forks source link

migrate cli failing to build #285

Open varunrau opened 7 years ago

varunrau commented 7 years ago

When I try and use the migrate cli I receive this error: driver/mysql/mysql.go:57:23: undefined: mysql.MySQLWarnings

I believe this is because of this commit, which is a breaking API change. https://github.com/go-sql-driver/mysql/commit/a8b7ed4454a6a4f98f85d3ad558cd6d97cec6959

mattes commented 7 years ago

Thanks, need to investigate more. It's a bummer, travis is pretty broken at this point.

meghanashastri commented 6 years ago

Hi, any update on this?

varunrau commented 6 years ago

We were pinned to a pretty old version of migrate. Version 3 isn't broken.

We fixed this by writing up a simple script to use the library instead of the cli tool. We plan to move over to v3, but we're not ready yet.

JensRantil commented 6 years ago

310 introduces vendoring of 3rd party libraries and would have avoided this.