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

Only hint about fixing if it was latest version and type was what was wanted.

parent 601a5938
No related branches found
No related tags found
No related merge requests found
......@@ -420,7 +420,7 @@ while ( $sth->fetch() ) {
else {
if($opt_verbose) {
printf("Skipping database %s (type: %s | version: %d)\n", $database, ($schema_type||'-'), ($schema_version || 0));
if(defined $schema_version && $schema_version == $opt_release) {
if( $schema_type_ok && $schema_type eq $opt_type && $schema_version_ok && $schema_version == $opt_release) {
printf("\tDB version was equal to latest release; if you need to patch then rerun with --fix and --dryrun\n");
}
}
......
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