- General info
- Technologies
- Screenshots
- Setup
- Usage
- Project Status
- To Do
- About Owner
- Reference Documentation
- License
Showcase of Flyway (Teams Edition) with Migration and Undo (rollback) usage examples.
Project is created with technology:version
- Docker-compose: 3.8
- Flyway Teams Edition:9.8.1
- Postgresql: 15
- Maven: 3.9.0
- Shell Scripting
- Run postgres server using docker compose:
docker compose up -d
- Setup FLYWAY_LICENSE_KEY environment variable with your teams or enterprise flyway license key.
- If you don't have one, you can get a free trial on redgate webpage
export FLYWAY_LICENSE_KEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXX"
- Run example script using to initialize flyway migration and undo example:
./runFlywayExample.sh
Run flyway maven plugin to migrate, undo, set baseline, get info...
Use flyway maven plugin documentation for more information.
Flyway database configuration is set for postgresql by default using maven profiles functionality.
You can also add additional maven profiles with other database providers (h2, mysql, oracle) or new database migration scripts.
Database scripts should be added under db.migration.[database].
If you want to add rollback functionality it's necessary to add an "undo" script for each versioned (migration) script.
In Progress
- Java API usage showcase
Created by:
-
- Github: https://github.com/javierddn
- LinkedIn: https://www.linkedin.com/in/javierdediegonavarro
- DockerHub: https://hub.docker.com/u/javierddn
- Bitbucket: https://bitbucket.org/javierddn
- Gitlab: https://gitlab.com/javierddn
- TravisCI: https://app.travis-ci.com/github/javierddn
- CircleCI: https://app.circleci.com/pipelines/github/javierddn
-
- Github: https://github.com/eager-minds
- LinkedIn: https://www.linkedin.com/company/eager-minds
- DockerHub: https://hub.docker.com/u/eagerminds
- Bitbucket: https://bitbucket.org/eagerminds
- TravisCI: https://app.travis-ci.com/github/eagerminds-javier
- CircleCI: https://app.circleci.com/pipelines/github/eagerminds-javier
📩 Feel free to contact me! 📩
For further reference, please consider the following sections:


