From 1551f8443c08267b422c54aff971924b96da53f6 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sun, 3 Nov 2013 09:33:28 -0500 Subject: [PATCH] Fixed pgsql column type detection bug. --- framework/yii/db/pgsql/Schema.php | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/yii/db/pgsql/Schema.php b/framework/yii/db/pgsql/Schema.php index 2dbe111..c01ea52 100644 --- a/framework/yii/db/pgsql/Schema.php +++ b/framework/yii/db/pgsql/Schema.php @@ -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,