public static void assertSqlDatabaseEquals(File expectedDatabaseFile, File actualDatabaseFile) throws IOException, SQLException {
String[][] compareTablesAndIgnoreColumns = new String[][] {
new String[] { "chunk", "DATABASEVERSION_ID" },
new String[] { "databaseversion", "ID" },
new String[] { "databaseversion_vectorclock", "DATABASEVERSION_ID" },
new String[] { "filecontent", "DATABASEVERSION_ID" },
new String[] { "filecontent_chunk" },
new String[] { "filehistory", "DATABASEVERSION_ID" },
new String[] { "fileversion", "DATABASEVERSION_ID" },
new String[] { "multichunk", "DATABASEVERSION_ID" },
new String[] { "multichunk_chunk" }
};
assertSqlDatabaseTablesEqual(expectedDatabaseFile, actualDatabaseFile, compareTablesAndIgnoreColumns);
}