public function getMigrationPath($table, $field = null)
    {
        $name = is_null($field) ?
            $this->getTableMigrationName($table) :
            $this->getTableFieldMigrationName($field, $table);

        return sprintf(
            $this->getBasePath() . '/%s.php',
            $name);
    }
public function getMigrationPath($table, $field = null)
    {
        $name = is_null($field) ?
            $this->getTableMigrationName($table) :
            $this->getTableFieldMigrationName($field, $table);

        return sprintf(
            $this->getBasePath() . '/%s.php',
            $name);
    }
public function getMigrationPath ( $ table , $ field = null ) { $ name = is_null ( $ field ) ? $ this -> getTableMigrationName ( $ table ) : $ this -> getTableFieldMigrationName ( $ field , $ table ) ; return sprintf ( $ this -> getBasePath ( ) . '/%s.php' , $ name ) ; }
Returns the path for the migration

@param string $table
@param string|null $field
@return string
Returns the path for the migration