mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 14:57:23 +08:00
Fixed pgsql column type detection bug.
This commit is contained in:
@@ -48,6 +48,7 @@ class Schema extends \yii\db\Schema
|
|||||||
'double precision' => self::TYPE_DECIMAL,
|
'double precision' => self::TYPE_DECIMAL,
|
||||||
'inet' => self::TYPE_STRING,
|
'inet' => self::TYPE_STRING,
|
||||||
'smallint' => self::TYPE_SMALLINT,
|
'smallint' => self::TYPE_SMALLINT,
|
||||||
|
'int4' => self::TYPE_INTEGER,
|
||||||
'integer' => self::TYPE_INTEGER,
|
'integer' => self::TYPE_INTEGER,
|
||||||
'bigint' => self::TYPE_BIGINT,
|
'bigint' => self::TYPE_BIGINT,
|
||||||
'interval' => self::TYPE_STRING,
|
'interval' => self::TYPE_STRING,
|
||||||
|
|||||||
Reference in New Issue
Block a user