Mise à jour du gestionnaire de base de donnée

This commit is contained in:
FyloZ 2021-03-10 17:17:19 -05:00
parent 3cdc8f4425
commit 472a802191
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ dependencies {
implementation("org.apache.pdfbox:pdfbox:2.0.4")
implementation("com.atlassian.commonmark:commonmark:0.13.1")
implementation("commons-io:commons-io:2.6")
implementation("dev.fyloz.colorrecipesexplorer:database-manager:1.0.1")
implementation("dev.fyloz.colorrecipesexplorer:database-manager:1.1.0")
implementation("org.springframework.boot:spring-boot-starter-data-jpa:2.3.4.RELEASE")
implementation("org.springframework.boot:spring-boot-starter-jdbc:2.3.4.RELEASE")

View File

@ -11,7 +11,7 @@ import org.springframework.context.annotation.Configuration
import org.springframework.core.env.Environment
import javax.sql.DataSource
const val SUPPORTED_DATABASE_VERSION = 2
const val SUPPORTED_DATABASE_VERSION = 3
const val ENV_VAR_ENABLE_DATABASE_UPDATE_NAME = "CRE_ENABLE_DB_UPDATE"
val DATABASE_NAME_REGEX = Regex("(\\w+)$")