Open
Description
Currently, SQLite is not built into the release CLI.
It means that SQLite is not officially supported by migrate since it's not in our test suite. This is due to issues with cross-compiling and CGO. mattn/go-sqlite3, the most popular sqlite driver and only one that is included in the compatibility test, requires cgo. In fact, it looks like all golang sqlite drivers require cgo at this time.
References:
- 15611d4
- Move sqlite driver to v3 mattes/migrate#165
- Go 1.8, sqlite. build fail mattes/migrate#244
- adapted the sqlite driver for v3 (#165) mattes/migrate#238
So if you want to use sqlite with the migrate CLI, you'll need to build it yourself or use the docker image.