     elif [ "$1" == "is_pgready" ]; then
       waitPostgresReady
 
+    elif [ "$1" == "mongomigrate" ]; then
+      mongomigrate $2 $3
+
     else
       echo "Unknown command: $1"
       printHelp

      if [ "$param" == "create" ]; then
        echo "Please edit created script files and add them to your repository."
      fi

    }

    function check (){

      echo "  run printconfig           : to print koding config environment variables (output in json via --json flag)"
      echo "  run worker [worker]       : to run a single worker"
      echo "  run migrate [command]     : to apply/revert database changes (command: [create|up|down|version|reset|redo|to|goto])"
      echo "  run mongomigrate [command]: to apply/revert mongo database changes (command: [create|up|down])"
      echo "  run importusers           : to import koding user data"
      echo "  run nodeservertests       : to run tests for node.js web server"
      echo "  run socialworkertests     : to run tests for social worker"
