Skip to content

Commit 0e8bc94

Browse files
committed
Fix h2 upgrade
1 parent 9d7f4cb commit 0e8bc94

File tree

1 file changed

+1
-1
lines changed
  • morpheus-testing/src/main/scala/org/opencypher/morpheus/testing/fixture

1 file changed

+1
-1
lines changed

morpheus-testing/src/main/scala/org/opencypher/morpheus/testing/fixture/H2Fixture.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ trait H2Fixture extends SparkSessionFixture {
3939
}
4040

4141
def dropH2Database(cfg: SqlDataSourceConfig.Jdbc, name: String): Unit = {
42-
withConnection(cfg) { conn => conn.execute(s"DROP SCHEMA IF EXISTS $name")}
42+
withConnection(cfg) { conn => conn.execute(s"DROP SCHEMA IF EXISTS $name CASCADE")}
4343
}
4444

4545
def freshH2Database(cfg: SqlDataSourceConfig.Jdbc, name: String): Unit = {

0 commit comments

Comments
 (0)