Browse Source

Update Schema.php

tags/2.0.0-beta
gsd 12 years ago
parent
commit
663fe63911
  1. 3
      framework/yii/db/pgsql/Schema.php

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

@ -243,6 +243,9 @@ ORDER BY
SQL;
$columns = $this->db->createCommand($sql)->queryAll();
if (empty($columns)) {
return false;
}
foreach ($columns as $column) {
$column = $this->loadColumnSchema($column);
$table->columns[$column->name] = $column;

Loading…
Cancel
Save