Skip to content

Instantly share code, notes, and snippets.

@wellingtonpgp
Created April 30, 2018 00:07
Show Gist options
  • Save wellingtonpgp/bf75d6a570641a58f82cca3c6038b31b to your computer and use it in GitHub Desktop.
Save wellingtonpgp/bf75d6a570641a58f82cca3c6038b31b to your computer and use it in GitHub Desktop.
Salvar role do application.properties com spring e flyway
spring.jpa.database=MYSQL
spring.datasource.url=jdbc:mysql://127.0.0.1/moneyapi?useSSL=false
spring.datasource.username=root
# spring.datasource.password=root
spring.jpa.show-sql=true
flyway:
enable: true
baselineOnMigrate: true
sql-migration-prefix: V
sql-migration-suffix: .sql
locations: classpath:/db/migration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment