From 80e816efc31b2a966a7d7d97066b7cf02d1f57c5 Mon Sep 17 00:00:00 2001 From: Panagiotis Moustafellos Date: Mon, 28 Oct 2013 14:39:09 +0200 Subject: [PATCH] pgsql: added 'bool' type (alias of 'boolean') Relates #1086 and #1087 --- 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 a5c59f4..c4da801 100644 --- a/framework/yii/db/pgsql/Schema.php +++ b/framework/yii/db/pgsql/Schema.php @@ -34,6 +34,7 @@ class Schema extends \yii\db\Schema public $typeMap = [ 'abstime' => self::TYPE_TIMESTAMP, 'bit' => self::TYPE_STRING, + 'bool' => self::TYPE_BOOLEAN, 'boolean' => self::TYPE_BOOLEAN, 'box' => self::TYPE_STRING, 'character' => self::TYPE_STRING,