Created
October 2, 2018 09:55
-
-
Save lunarxlark/6c90b5fdff61f22c4c4a53345023fd44 to your computer and use it in GitHub Desktop.
spring boot(gradlew) + flyway
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
dependencies { | |
classpath "org.flywaydb.flyway-gradle-plugin:3.2.1" | |
} | |
} | |
apply plugin: 'org.flywaydb.flyway' | |
flyway { | |
url='jdbc:mysql://{{cluster-endpoint}}:{{port}}/{{database-name}}' | |
user='authapi_system' | |
password='password' | |
sqlMigrationPrefix='v' | |
sqlMigrationSeparator='__' | |
encoding = 'UTF-8' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment