diff --git a/src/Way/Generators/Syntax/AddToTable.php b/src/Way/Generators/Syntax/AddToTable.php index 2db34683..aaf045bf 100644 --- a/src/Way/Generators/Syntax/AddToTable.php +++ b/src/Way/Generators/Syntax/AddToTable.php @@ -58,7 +58,7 @@ private function addColumn($field) // If we have args, then it needs // to be formatted a bit differently - if (isset($field['args'])) + if (isset($field['args']) && $type !== 'text') { $output = sprintf( "\$table->%s('%s', %s)", @@ -96,4 +96,4 @@ protected function addDecorators($decorators) return $output; } -} \ No newline at end of file +}