mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 06:48:59 +08:00
Merge pull request #1088 from pmoust/patch-2
pgsql: added 'bool' type (alias of 'boolean')
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user