File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ object TodoMvcDb extends cask.MainRoutes {
1010 val sqliteDataSource = new org.sqlite.SQLiteDataSource ()
1111 sqliteDataSource.setUrl(s " jdbc:sqlite: $tmpDb/file.db " )
1212
13- given dbClient : DbClient = new DbClient .DataSource (
13+ given sqliteClient : DbClient = new DbClient .DataSource (
1414 sqliteDataSource,
1515 config = new {}
1616 )
@@ -21,7 +21,7 @@ object TodoMvcDb extends cask.MainRoutes {
2121 given todoRW : upickle.default.ReadWriter [Todo ] = upickle.default.macroRW[Todo ]
2222 }
2323
24- dbClient .getAutoCommitClientConnection.updateRaw(
24+ sqliteClient .getAutoCommitClientConnection.updateRaw(
2525 """ CREATE TABLE todo (
2626 | id INTEGER PRIMARY KEY AUTOINCREMENT,
2727 | checked BOOLEAN,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ object TodoMvcDbWithLoom extends cask.MainRoutes {
1212 val sqliteDataSource = new org.sqlite.SQLiteDataSource ()
1313 sqliteDataSource.setUrl(s " jdbc:sqlite: $tmpDb/file.db " )
1414
15- given dbClient : DbClient = new DbClient .DataSource (
15+ given sqliteClient : DbClient = new DbClient .DataSource (
1616 sqliteDataSource,
1717 config = new {}
1818 )
@@ -28,7 +28,7 @@ object TodoMvcDbWithLoom extends cask.MainRoutes {
2828 given todoRW : upickle.default.ReadWriter [Todo ] = upickle.default.macroRW[Todo ]
2929 }
3030
31- dbClient .getAutoCommitClientConnection.updateRaw(
31+ sqliteClient .getAutoCommitClientConnection.updateRaw(
3232 """ CREATE TABLE todo (
3333 | id INTEGER PRIMARY KEY AUTOINCREMENT,
3434 | checked BOOLEAN,
You can’t perform that action at this time.
0 commit comments