We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d7f4cb commit 0e8bc94Copy full SHA for 0e8bc94
morpheus-testing/src/main/scala/org/opencypher/morpheus/testing/fixture/H2Fixture.scala
@@ -39,7 +39,7 @@ trait H2Fixture extends SparkSessionFixture {
39
}
40
41
def dropH2Database(cfg: SqlDataSourceConfig.Jdbc, name: String): Unit = {
42
- withConnection(cfg) { conn => conn.execute(s"DROP SCHEMA IF EXISTS $name")}
+ withConnection(cfg) { conn => conn.execute(s"DROP SCHEMA IF EXISTS $name CASCADE")}
43
44
45
def freshH2Database(cfg: SqlDataSourceConfig.Jdbc, name: String): Unit = {
0 commit comments