Skip to content

srcmaxim/migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Database migrations using Docker and Flyway

  1. Spin-up database (you need Docker to do that): bash ./src/main/docker/postgresUp. It will start PostgreSQL 11 database on host, port: localhost:5432 with database: migration and user, password: min_privs;
  2. Run migration: bash gradlew flywayMigrate -i;
  3. After you can connect to database using: bash ./src/main/docker/postgresConnect.

About

Database migrations using Docker and Flyway

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published