List<Object[]> results = db.executeQuery("select id from Test");
assertThat(results.size(), is(0));
// now run dbdeploy again with valid scripts, should recover
dbDeploy.setScriptdirectory(findScriptDirectory("src/it/db/deltas"));
dbDeploy.go();
assertThat(db.getChangelogEntries(), hasItems(1L, 2L));
results = db.executeQuery("select id from Test");
assertThat(results.size(), is(1));