Browse Source

Merge pull request #1088 from pmoust/patch-2

pgsql: added 'bool' type (alias of 'boolean')
tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
e8c2041389
  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 = [ 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,

Loading…
Cancel
Save