public function create($schema)
    {
        $types = array_map(function ($column) {
            return $column['name'] . ':' . $column['type'];
        }, $schema);

        return implode(', ', $types);
    }
public function create($schema)
    {
        $types = array_map(function ($column) {
            return $column['name'] . ':' . $column['type'];
        }, $schema);

        return implode(', ', $types);
    }
public function create ( $ schema ) { $ types = array_map ( function ( $ column ) { return $ column [ 'name' ] . ':' . $ column [ 'type' ] ; } , $ schema ) ; return implode ( ', ' , $ types ) ; }
Return the argument string to use for the migration command.

@param $schema
@return string
Return the argument string to use for the migration command .