DBUpgrade: Pfad überladbar machen
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 20 Jul 2015 14:15:22 +0000 (16:15 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 20 Jul 2015 14:37:27 +0000 (16:37 +0200)
SL/DBUpgrade2.pm

index 65d2fec..4fb1ba9 100644 (file)
@@ -26,7 +26,7 @@ sub init {
 
   $params{path_suffix} ||= '';
   $params{schema}      ||= '';
-  $params{path}          = "sql/Pg-upgrade2" . $params{path_suffix};
+  $params{path}        ||= "sql/Pg-upgrade2" . $params{path_suffix};
 
   map { $self->{$_} = $params{$_} } keys %params;