Browse Source

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

Relates #1086 and #1087
tags/2.0.0-beta
Panagiotis Moustafellos 11 years ago
parent
commit
80e816efc3
  1. 1
      framework/yii/db/pgsql/Schema.php

1
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,

Loading…
Cancel
Save