adding some basic copy tag and serial tables to the mig init function
[migration-tools.git] / mig
diff --git a/mig b/mig
index ea6cfd1..3f6557b 100755 (executable)
--- a/mig
+++ b/mig
@@ -226,6 +226,10 @@ or for all mapped files if no file is specified.
 Generates <parent table>_prod.sql for the specified linked and mapped file, or
 all such files if no file is specified.
 
+=item B<sql> [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();
     }