Permalink
Browse files

[edit]delete carrige return from schema

  • Loading branch information...
dog-ears committed Jun 8, 2016
1 parent 4360b45 commit fcf0a09a0d7707896d4f9bf7ed90a8e96ddd4be1
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Migrations/SchemaParser.php
@@ -71,7 +71,8 @@ private function addField($field)
*/
private function splitIntoFields($schema)
{
return preg_split('/,\s?(?![^()]*\))/', $schema);
$temp = preg_split('/,\s?(?![^()]*\))/', $schema);
return preg_replace('/\n/','',$temp);
}
/**

0 comments on commit fcf0a09

Please sign in to comment.