Fixed pgsql column type detection bug.

This commit is contained in:
Qiang Xue
2013-11-03 09:33:28 -05:00
parent 26c7f6d62f
commit 1551f8443c

View File

@@ -48,6 +48,7 @@ class Schema extends \yii\db\Schema
'double precision' => self::TYPE_DECIMAL,
'inet' => self::TYPE_STRING,
'smallint' => self::TYPE_SMALLINT,
'int4' => self::TYPE_INTEGER,
'integer' => self::TYPE_INTEGER,
'bigint' => self::TYPE_BIGINT,
'interval' => self::TYPE_STRING,