mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 14:46:36 +02:00
make bytea fields shortable
This commit is contained in:
@@ -1187,7 +1187,7 @@ function is_url($string) {
|
|||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
function is_shortable($field) {
|
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
|
/** Get query to compute number of found rows
|
||||||
|
Reference in New Issue
Block a user