Browse Source

Fixed pgsql column type detection bug.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
1551f8443c
  1. 1
      framework/yii/db/pgsql/Schema.php

1
framework/yii/db/pgsql/Schema.php

@ -48,6 +48,7 @@ class Schema extends \yii\db\Schema
'double precision' => self::TYPE_DECIMAL,
'inet' => self::TYPE_STRING,
'smallint' => self::TYPE_SMALLINT,
'int4' => self::TYPE_INTEGER,
'integer' => self::TYPE_INTEGER,
'bigint' => self::TYPE_BIGINT,
'interval' => self::TYPE_STRING,

Loading…
Cancel
Save