aboutsummaryrefslogtreecommitdiff
path: root/server/src/Repository.scala
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/Repository.scala')
-rw-r--r--server/src/Repository.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/Repository.scala b/server/src/Repository.scala
index 003ac92..fe7ecab 100644
--- a/server/src/Repository.scala
+++ b/server/src/Repository.scala
@@ -4,6 +4,7 @@ import java.time.Instant
import slick.jdbc.{JdbcProfile, SQLiteProfile}
+/** Slick wrapper around the persisted message database. */
class Repository(val profile: JdbcProfile, url: String, driver: String) {
val database: profile.backend.DatabaseDef =
profile.api.Database.forURL(url, driver)