Skip to content

Commit

Permalink
Change the default form field type to text not textarea.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Oct 11, 2016
1 parent 2481e41 commit ae1527d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Database/Schema/MysqlSchema.php
Expand Up @@ -148,7 +148,7 @@ protected function _convertColumn($column)
return ['type' => 'json', 'length' => null];
}

return ['type' => 'text', 'length' => null];
return ['type' => 'string', 'length' => null];
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Database/Schema/PostgresSchema.php
Expand Up @@ -137,7 +137,7 @@ protected function _convertColumn($column)
return ['type' => 'json', 'length' => null];
}

return ['type' => 'text', 'length' => null];
return ['type' => 'string', 'length' => null];
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Database/Schema/SqlserverSchema.php
Expand Up @@ -138,7 +138,7 @@ protected function _convertColumn($col, $length = null, $precision = null, $scal
return ['type' => 'uuid'];
}

return ['type' => 'text', 'length' => null];
return ['type' => 'string', 'length' => null];
}

/**
Expand Down

0 comments on commit ae1527d

Please sign in to comment.