diff --git a/misc-scripts/schema_patcher.pl b/misc-scripts/schema_patcher.pl index e1ae048666e670d61af2243b675e7dc4a70a477a..03b8337673a6f6197d104eae325a4ba2b960e38c 100755 --- a/misc-scripts/schema_patcher.pl +++ b/misc-scripts/schema_patcher.pl @@ -417,7 +417,15 @@ while ( $sth->fetch() ) { $database, defined($species) ? $species : 'unknown', $schema_type, $schema_version ); } - else { next } + else { + if($opt_verbose) { + printf("Skipping database %s (type: %s | version: %d)\n", $database, ($schema_type||'-'), $schema_version); + if($schema_version == $opt_release) { + printf("\tDB version was equal to latest release; if you need to patch then rerun with --fix and --dryrun\n"); + } + } + next; + } # Now figure out what patches we need to apply to this database.