add mig-sql the show path
authorRogan Hamby <rhamby@esilibrary.com>
Fri, 16 Feb 2018 16:36:13 +0000 (11:36 -0500)
committerRogan Hamby <rhamby@esilibrary.com>
Fri, 16 Feb 2018 16:36:13 +0000 (11:36 -0500)
mig-bin/mig-sql

index 0f7d9e0..bbe564f 100755 (executable)
@@ -31,10 +31,9 @@ my $mig_bin = "$FindBin::Bin/";
 use lib "$FindBin::Bin/";
 use Mig;
 
-pod2usage(-verbose => 2) if defined $ARGV[0] && $ARGV[0] eq '--help';
-
 my @MYARGV = (
      'psql'
+    ,'options=--search_path=' . $MIGSCHEMA . ',public,evergreen,pg_catalog'
     ,'-vmigschema=' . $MIGSCHEMA
 );
 if (defined $BIBSTART) {