X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=mig;h=3f6557b611ca5371a959579b3899db750425cb35;hp=ea6cfd1e8078a4ab7d506c9159b7e1ef4a09d750;hb=2b5820e71bb2c4b89c6460f63fb3a148807716b0;hpb=f9201dc2d1699f5161e5e29690a1634e8063bb85 diff --git a/mig b/mig index ea6cfd1..3f6557b 100755 --- a/mig +++ b/mig @@ -226,6 +226,10 @@ or for all mapped files if no file is specified. Generates _prod.sql for the specified linked and mapped file, or all such files if no file is specified. +=item B [arguments...] + +A wrapper around the psql command. At some point the plan is to shove mig-tracked variables into psql sessions. + =back =cut @@ -317,6 +321,10 @@ switch($ARGV[0]) { Mig::die_if_no_env_migschema(); standard_invocation(@ARGV); } + case "sql" { + Mig::die_if_no_env_migschema(); + standard_invocation(@ARGV); + } case "map" { Mig::die_if_no_env_migschema(); }