Skip to content
Snippets Groups Projects
Commit 97bab4f4 authored by Andy Yates's avatar Andy Yates
Browse files

Adding a bit more chatter to the script

parent 92c28685
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment