Files
CustomAuthenticationEntryPoint/db/build.gradle.kts
Hanbin Lee f943cf87df [#28] feat: flyway migration용 gradle module 추가
- db 모듈 추가
- dongne-service-api 모듈에 적용되어 있던 flyway migration 내용 삭제
2023-01-14 23:21:10 +09:00

26 lines
742 B
Kotlin

buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.flywaydb:flyway-mysql:${Version.FlywayDB.FLYWAY_CORE}")
}
}
plugins {
id(Plugins.FlywayDB.FLYWAY).version(Version.FlywayDB.FLYWAY_CORE)
}
dependencies {
implementation("org.flywaydb:flyway-core:${Version.FlywayDB.FLYWAY_CORE}") // flyway
}
flyway {
baselineDescription = "Start Flyway Migration!"
baselineOnMigrate = true
baselineVersion = "000"
locations = arrayOf("filesystem:./migration", "filesystem:./seed")
configFiles = arrayOf("conf/flyway.conf")
cleanDisabled = false // activate flywayClean
ignoreMigrationPatterns = arrayOf("*:pending") // ignore validating pending(대기) state
}