This repository has been archived by the owner on Jun 28, 2018. It is now read-only.
v3.0.0
Version 3 is a complete rewrite and not compatible with previous versions.
Not all drivers from previous versions are available yet. Any help porting existing drivers to this latest version is greatly appreciated. If you want to continue v1 for now, please have a look at branch v1.
- Sources are drivers now. That makes it very easy to read migrations from a lot of places, like filesystem, S3, go-bindata, ...
- Database drivers only have the bare minimum logic to apply migrations. All logic is handled by the core migrate library. This makes implementing and testing drivers even easier.
- V3 is a complete rewrite. It uses io.Readers internally, is tested for thread-safety (also no leaking goroutines).
dirty
state was introduced to give database drivers more flexibility to handle failed migrations.