Skip to content

ayonious/flyway-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This contains several runnable maven projects to get quickly started into flyway. Running instructions can be found inside each project

TestProj1: maven,mysql,single schema/db
TestProj2: maven,mysql,multiple schema/db,command line variables
TestProj3: maven,postgresql,single schema/db,commandline variables, dockerize flyway (not working yet)

General running commands for maven:

mvn flyway:info
mvn flyway:migrate

Flyway commands: (taken mostly from: https://flywaydb.org/documentation/command/migrate)

Info: Prints current status of the migration. Which versions are pending and which are applied

Migrate: Migrates a database schema to the current version. It scans the classpath for available migrations and applies pending migrations.

Baseline: Baselines an existing database, excluding all migrations, including baselineVersion. Baseline helps to start with Flyway in an existing database. Newer migrations can then be applied normally.

Validate: 

Repair: 

Clean: 

About

Example projects to quickly get started with flyway

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages