Skip to content

Commit 7211452

Browse files
committed
Change the config of flyway in test profile
1 parent 219aa5c commit 7211452

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

  • profile/profile-ports/profile-postgres/src/main/kotlin/co/nilin/opex/profile/ports/postgres/config
  • wallet/wallet-ports/wallet-persister-postgres/src/main/kotlin/co/nilin/opex/wallet/ports/postgres/config

profile/profile-ports/profile-postgres/src/main/kotlin/co/nilin/opex/profile/ports/postgres/config/PostgresConfig.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import org.springframework.data.r2dbc.repository.config.EnableR2dbcRepositories
1010

1111
@Configuration
1212
@EnableR2dbcRepositories(basePackages = ["co.nilin.opex"])
13-
@Profile("!test")
1413
class PostgresConfig {
1514
private val logger = LoggerFactory.getLogger(PostgresConfig::class.java)
1615

wallet/wallet-ports/wallet-persister-postgres/src/main/kotlin/co/nilin/opex/wallet/ports/postgres/config/PostgresConfig.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import org.springframework.data.r2dbc.repository.config.EnableR2dbcRepositories
1111

1212
@Configuration
1313
@EnableR2dbcRepositories(basePackages = ["co.nilin.opex"])
14+
@Profile("!test")
1415
class PostgresConfig {
1516
private val logger = LoggerFactory.getLogger(PostgresConfig::class.java)
1617

0 commit comments

Comments
 (0)