mirror of
https://github.com/vrana/adminer.git
synced 2025-08-05 22:27:24 +02:00
make bytea fields shortable
This commit is contained in:
@@ -1187,7 +1187,7 @@ function is_url($string) {
|
||||
* @return bool
|
||||
*/
|
||||
function is_shortable($field) {
|
||||
return preg_match('~char|text|lob|geometry|point|linestring|polygon|string~', $field["type"]);
|
||||
return preg_match('~char|text|lob|geometry|point|linestring|polygon|string|bytea~', $field["type"]);
|
||||
}
|
||||
|
||||
/** Get query to compute number of found rows
|
||||
|
Reference in New Issue
Block a user