1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-09 07:37:08 +02:00

DibiDatabaseInfo: BIGINT is treated as string [Closes #18]

This commit is contained in:
David Grudl
2010-08-03 03:06:52 +02:00
parent 1b623855b7
commit 63163de18b

View File

@@ -621,7 +621,7 @@ class DibiColumnInfo extends DibiObject
{
static $patterns = array(
'BYTEA|BLOB|BIN' => dibi::BINARY,
'TEXT|CHAR' => dibi::TEXT,
'TEXT|CHAR|BIGINT|LONGLONG' => dibi::TEXT,
'BYTE|COUNTER|SERIAL|INT|LONG' => dibi::INTEGER,
'CURRENCY|REAL|MONEY|FLOAT|DOUBLE|DECIMAL|NUMERIC|NUMBER' => dibi::FLOAT,
'^TIME$' => dibi::TIME,