This MR contains the following updates:
- @fln fixed MySQL multi statement bug
- @watersofoblivion added AWS Redshift database driver
- @Menta2L added QL database driver (but see #232)
- @fsouza added source drivers for Google Cloud Storage and AWS S3
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).
dirtystate was introduced to give database drivers more flexibility to handle failed migrations.
- fixes import paths to work with gopkg.in
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.