Skip to content

v4.1

Compare
Choose a tag to compare
@lukaszbudnik lukaszbudnik released this 14 Jan 10:36
2b20a15

migrator v4.1 comes with the following new feature:

  • source migrations loader implementation for AWS S3 #49

    If baseDir starts with s3:// prefix, AWS S3 implementation is used. In such case the baseDir property is
    treated as a bucket name.

    A sample migrator.yaml with source migrations located in AWS S3 bucket called your-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