Skip to content

Commit

Permalink
Test henting av jdbc url fra DB_JDBC_URL
Browse files Browse the repository at this point in the history
Co-authored-by: Giao The Cung <giaothe@gmail.com>
  • Loading branch information
MariusEriksen and gtcno committed May 22, 2024
1 parent 7e76385 commit bdad596
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import org.flywaydb.core.api.configuration.FluentConfiguration
internal object PostgresDataSourceBuilder {
const val DB_USERNAME_KEY = "DB_USERNAME"
const val DB_PASSWORD_KEY = "DB_PASSWORD"
const val DB_URL_KEY = "DB_URL"
const val DB_URL_KEY = "DB_JDBC_URL"

private fun getOrThrow(key: String): String = getEnv(key) ?: getSystemProperty(key)

Expand Down

0 comments on commit bdad596

Please sign in to comment.