Commit 1551f844 by Qiang Xue

Fixed pgsql column type detection bug.

parent 26c7f6d6
...@@ -48,6 +48,7 @@ class Schema extends \yii\db\Schema ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment