public function buildTableColumns($attributes)
{
return rtrim(collect($attributes)->reduce(function ($column, $attribute) {
$fieldType = $this->getFieldTypeFromProperties($attribute['properties']);
if ($length = $this->typeCanDefineSize($fieldType)) {
$length = $this->extractFieldLengthValue($attribute['properties']);
}
$properties = $this->extractAttributePropertiesToApply($attribute['properties']);
return $column . $this->buildSchemaColumn($fieldType, $attribute['name'], $length, $properties);
}));
}