migrate icon indicating copy to clipboard operation
migrate copied to clipboard

migrate cli failing to build

Open varunrau opened this issue 8 years ago • 4 comments

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

varunrau avatar Oct 04 '17 01:10 varunrau

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

mattes avatar Oct 09 '17 18:10 mattes

Hi, any update on this?

meghanashastri avatar Nov 13 '17 18:11 meghanashastri

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.

varunrau avatar Nov 13 '17 18:11 varunrau

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

JensRantil avatar Nov 16 '17 13:11 JensRantil