v4.1
migrator v4.1 comes with the following new feature:
-
source migrations loader implementation for AWS S3 #49
If
baseDir
starts withs3://
prefix, AWS S3 implementation is used. In such case thebaseDir
property is
treated as a bucket name.A sample
migrator.yaml
with source migrations located in AWS S3 bucket calledyour-bucket-migrator
looks like this:baseDir: s3://your-bucket-migrator driver: postgres dataSource: user=postgres dbname=migrator_test host=127.0.0.1 port=32774 sslmode=disable connect_timeout=1 singleMigrations: - migrations/ref - migrations/config tenantMigrations: - migrations/tenants