{
getLog().info("Validating " + getUrl() + " using migrations at " + getMigrationsPath() + ".");
try
{
MigrationManager manager = createMigrationManager();
SortedSet<Migration> pendingMigrations = manager.pendingMigrations();
StringBuilder sb = new StringBuilder();
sb.append("\n Database: ").append(getUrl());
sb.append("\n Up-to-date: ").append(pendingMigrations.isEmpty());
sb.append("\n Pending Migrations: ");