pgsql: added 'bool' type (alias of 'boolean')

Relates #1086 and #1087
parent 3c36b6d5
...@@ -34,6 +34,7 @@ class Schema extends \yii\db\Schema ...@@ -34,6 +34,7 @@ class Schema extends \yii\db\Schema
public $typeMap = [ public $typeMap = [
'abstime' => self::TYPE_TIMESTAMP, 'abstime' => self::TYPE_TIMESTAMP,
'bit' => self::TYPE_STRING, 'bit' => self::TYPE_STRING,
'bool' => self::TYPE_BOOLEAN,
'boolean' => self::TYPE_BOOLEAN, 'boolean' => self::TYPE_BOOLEAN,
'box' => self::TYPE_STRING, 'box' => self::TYPE_STRING,
'character' => self::TYPE_STRING, 'character' => 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