Skip to content

Commit

Permalink
Merge c558214 into 5c2890c
Browse files Browse the repository at this point in the history
  • Loading branch information
JanRossler committed Oct 30, 2021
2 parents 5c2890c + c558214 commit fd0dd45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Dibi/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fd0dd45

Please sign in to comment.