- 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
; - Run migration:
bash gradlew flywayMigrate -i
; - After you can connect to database using:
bash ./src/main/docker/postgresConnect
.
-
Notifications
You must be signed in to change notification settings - Fork 0
srcmaxim/migration
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Database migrations using Docker and Flyway
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published