mirror of
https://github.com/gotson/komga.git
synced 2025-01-09 04:08:00 +08:00
deps(komga): bump sqlite-jdbc from 3.45.0.0 to 3.46.1.3
This commit is contained in:
parent
870afffcf3
commit
b9cb0fe091
@ -111,8 +111,8 @@ dependencies {
|
||||
|
||||
implementation("com.github.ben-manes.caffeine:caffeine")
|
||||
|
||||
implementation("org.xerial:sqlite-jdbc:3.45.0.0")
|
||||
jooqGenerator("org.xerial:sqlite-jdbc:3.45.0.0")
|
||||
implementation("org.xerial:sqlite-jdbc:3.46.1.3")
|
||||
jooqGenerator("org.xerial:sqlite-jdbc:3.46.1.3")
|
||||
|
||||
if (version.toString().endsWith(".0.0")) {
|
||||
ksp("com.github.gotson.bestbefore:bestbefore-processor-kotlin:0.1.0")
|
||||
|
@ -47,7 +47,10 @@ class DataSourcesConfiguration(
|
||||
.type(dataSourceClass)
|
||||
.build()
|
||||
|
||||
dataSource.setEnforceForeignKeys(true)
|
||||
with(dataSource) {
|
||||
setEnforceForeignKeys(true)
|
||||
setGetGeneratedKeys(false)
|
||||
}
|
||||
with(databaseProps) {
|
||||
journalMode?.let { dataSource.setJournalMode(it.name) }
|
||||
busyTimeout?.let { dataSource.config.busyTimeout = it.toMillis().toInt() }
|
||||
|
Loading…
Reference in New Issue
Block a user