throw new RuntimeException("No database provider exists for: " + database);
}
} else {
throw new RuntimeException("No database provider configured");
}
provider.start();
Connection connection = provider.getConnection();
Liquibase liquibase = new Liquibase("org/socialmusicdiscovery/server/database/smd-database.changelog.xml", new
ClassLoaderResourceAccessor(),
new JdbcConnection(connection));
if (System.getProperty("liquibase") == null || !System.getProperty("liquibase").equals("false")) {