X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=mig;h=94731c5776b2cf8214a40f30945b830c27e6ad0b;hp=b48a76ebf948737fbd23c2e615c989a424144090;hb=2f34c8427944b6572c9e0c695b2f241b4f10cb3a;hpb=e0c288ae409d7b4f6ec493ba976a64294ce8a12c diff --git a/mig b/mig index b48a76e..94731c5 100755 --- a/mig +++ b/mig @@ -255,12 +255,13 @@ Holds, Actors, Bibs, Assets & Money. Allows you to override the default evergreen_staged_report.xml in the mig-xml folder. -=item B --pull spreadsheet_tab or --push postgres_table +=item B --pull or --push spreadsheet_tab This uses the gsheet_tracked_table and gsheet_tracked column tables to map a Google Docs Spreadsheet tabs -with Postgres tables in the mig schema. Multiple spreadsheets can be used but tab names must be unique. -Each spreadsheet column needs a header that matches the column name in the matching table. An oauth -session key is also needed for your Google account and mig gsheet will look for it in the .mig directory. +with Postgres tables in the mig schema. The spreadsheet is assumed to share the name as the mig schema. +Tab names must be unique. Each spreadsheet column needs a header that matches the column name in the matching +table. An oauth session key is also needed for your Google account and mig gsheet will look for it in the +.mig directory. =back @@ -305,6 +306,10 @@ switch($ARGV[0]) { Mig::die_if_no_env_migschema(); standard_invocation(@ARGV); } + case "quick" { + Mig::die_if_no_env_migschema(); + standard_invocation(@ARGV); + } case "add" { Mig::die_if_no_env_migschema(); standard_invocation(@ARGV);