diff --git a/src/Dibi/Helpers.php b/src/Dibi/Helpers.php index b4d361ab..6622e360 100644 --- a/src/Dibi/Helpers.php +++ b/src/Dibi/Helpers.php @@ -179,6 +179,7 @@ public static function detectType(string $type): ?string { static $patterns = [ '^_' => Type::TEXT, // PostgreSQL arrays + 'RANGE$' => Type::TEXT, // PostgreSQL range types 'BYTEA|BLOB|BIN' => Type::BINARY, 'TEXT|CHAR|POINT|INTERVAL|STRING' => Type::TEXT, 'YEAR|BYTE|COUNTER|SERIAL|INT|LONG|SHORT|^TINY$' => Type::INTEGER,