Permalink
Browse files

Adapter: Fixed missing 2nd param error after previous update

  • Loading branch information...
1 parent 6369458 commit 89c2410b5c51512bdc381d3e89cb287ee62716e1 @vlucas committed Mar 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Adapter/PDO.php
View
@@ -199,7 +199,7 @@ public function migrateTableUpdate($table, array $formattedFields)
*/
// Prepare fields and get syntax for each
- $tableColumns = $this->getColumnsForTable($table);
+ $tableColumns = $this->getColumnsForTable($table, $this->database);
$updateFormattedFields = array();
foreach($tableColumns as $fieldName => $columnInfo) {
if(isset($formattedFields[$fieldName])) {

0 comments on commit 89c2410

Please sign in to comment.