Merge pull request #526 from sergon/patch-3

pgsql schema findColumns fix
This commit is contained in:
Carsten Brandt
2013-06-11 03:46:45 -07:00

View File

@@ -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;