public function fake($module = null, $to = null)
 {
     if (null === $to && Core_Migration_Manager::isMigration($module)) {
         list($to, $module) = array($module, null);
     }
     require_once 'bootstrap.php';
     $this->getManager()->fake($module, $to);
     foreach ($this->getManager()->getMessages() as $message) {
         $this->message($message, 'hiGreen');
     }
 }
 /**
  * Migrations
  *
  * @param bool $up
  * @param null $module
  * @param null $migration
  */
 public static function migration($up = true, $module = null, $migration = null)
 {
     require_once 'Core/Migration/Manager.php';
     if (null === $migration && Core_Migration_Manager::isMigration($module)) {
         list($migration, $module) = array($module, null);
     }
     $manager = new Core_Migration_Manager(array('projectDirectoryPath' => APPLICATION_PATH . '/../', 'modulesDirectoryPath' => APPLICATION_PATH . '/modules/', 'migrationsDirectoryName' => 'migrations'));
     if ($up) {
         $manager->up($module, $migration);
     } else {
         $manager->down($module, $migration);
     }
     foreach ($manager->getMessages() as $message) {
         echo $message . "\n";
     }
 }