code: protected function writeMigration($name) {
      $output = pathinfo($this->migrator->create($name, $this->getMigrationsPath()), PATHINFO_FILENAME);
  
      $this->line("      <fg=green;options=bold>create</fg=green;options=bold>  $output");
    }
docs: Write the migration file to disk.
  
  @param  string  $name
  @return string