mirror of
https://github.com/dg/dibi.git
synced 2025-08-13 17:44:11 +02:00
DibiDatabaseInfo: BIGINT is treated as string [Closes #18]
This commit is contained in:
@@ -621,7 +621,7 @@ class DibiColumnInfo extends DibiObject
|
|||||||
{
|
{
|
||||||
static $patterns = array(
|
static $patterns = array(
|
||||||
'BYTEA|BLOB|BIN' => dibi::BINARY,
|
'BYTEA|BLOB|BIN' => dibi::BINARY,
|
||||||
'TEXT|CHAR' => dibi::TEXT,
|
'TEXT|CHAR|BIGINT|LONGLONG' => dibi::TEXT,
|
||||||
'BYTE|COUNTER|SERIAL|INT|LONG' => dibi::INTEGER,
|
'BYTE|COUNTER|SERIAL|INT|LONG' => dibi::INTEGER,
|
||||||
'CURRENCY|REAL|MONEY|FLOAT|DOUBLE|DECIMAL|NUMERIC|NUMBER' => dibi::FLOAT,
|
'CURRENCY|REAL|MONEY|FLOAT|DOUBLE|DECIMAL|NUMERIC|NUMBER' => dibi::FLOAT,
|
||||||
'^TIME$' => dibi::TIME,
|
'^TIME$' => dibi::TIME,
|
||||||
|
Reference in New Issue
Block a user