Skip to content
Snippets Groups Projects
Commit a294128d authored by Ian Longden's avatar Ian Longden
Browse files

_test_db exempt from schema/database version checks

parent 4e314bb7
No related branches found
No related tags found
No related merge requests found
......@@ -256,6 +256,9 @@ sub check_version{
if($database_version == 0){
#try to work out the version
if($dba->dbc->dbname() =~ /^_test_db_/){
return;
}
if($dba->dbc->dbname() =~ /\S+_\S+_\S+_(\d+)_\S+/){
$database_version = $1;
}
......
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