Skip to content

Commit

Permalink
deps(komga): bump sqlite-jdbc from 3.45.0.0 to 3.46.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Sep 27, 2024
1 parent 870afff commit b9cb0fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions komga/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() }
Expand Down

0 comments on commit b9cb0fe

Please sign in to comment.