Skip to content

Commit

Permalink
fix(?) syntax issues in DELETE FROM for h2
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewBemis committed Mar 17, 2017
1 parent a8b7141 commit ad343e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Expand Up @@ -26,7 +26,7 @@ libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-slf4j" % "2.3.11",
"com.typesafe" % "config" % "1.2.1",
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2",
"com.typesafe.slick" %% "slick" % "3.0.0",
"com.typesafe.slick" %% "slick" % "3.2.0",
"com.zaxxer" % "HikariCP" % "2.3.9",
"io.spray" %% "spray-can" % sprayV,
"io.spray" %% "spray-client" % sprayV,
Expand Down
Expand Up @@ -73,7 +73,7 @@ trait AgoraTestFixture {
tables map { table =>
db.run(MTable.getTables(table.baseTableRow.tableName)).flatMap { result =>
if (result.nonEmpty) {
db.run(table.delete)
db.run(sqlu"delete from #${table.baseTableRow.tableName}")
} else {
Future.successful(())
}
Expand Down

0 comments on commit ad343e2

Please sign in to comment.