Add SQLite persistence via Docker named volume
Tasks are now stored in SQLite (DB_PATH env var, defaults to ./tasks.db). Pre-seeding runs only when the table is empty, so upgrades preserve data. This is the v1.0.0 baseline for the persistence demo. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -13,7 +13,8 @@ lazy val root = project
|
||||
libraryDependencies ++= Seq(
|
||||
"com.greenfossil" %% "thorium" % thoriumVersion,
|
||||
"com.typesafe" % "config" % "1.4.3",
|
||||
"ch.qos.logback" % "logback-classic" % "1.5.6"
|
||||
"ch.qos.logback" % "logback-classic" % "1.5.6",
|
||||
"org.xerial" % "sqlite-jdbc" % "3.47.1.0"
|
||||
),
|
||||
|
||||
assembly / mainClass := Some("Main"),
|
||||
|
||||
Reference in New Issue
Block a user