Skip to content

Commit

Permalink
Code review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 4, 2013
1 parent e4c737c commit 3420baa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions lib/Cake/Database/Schema/PostgresSchema.php
Expand Up @@ -231,12 +231,12 @@ public function convertIndexDescription(Table $table, $row) {
'type' => $type,
'columns' => $columns
]);
} else {
$table->addIndex($name, [
'type' => $type,
'columns' => $columns
]);
return;
}
$table->addIndex($name, [
'type' => $type,
'columns' => $columns
]);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Database/Schema/SqliteSchema.php
Expand Up @@ -155,7 +155,7 @@ public function describeIndexSql($table) {
/**
* Convert an index into the abstract description.
*
* Since Sqlite does not have a way to get metadata about all indexes at once,
* Since SQLite does not have a way to get metadata about all indexes at once,
* additional queries are done here. Sqlite constraint names are not
* stable, and the names for constraints will not match those used to create
* the table. This is a limitation in Sqlite's metadata features.
Expand Down

0 comments on commit 3420baa

Please sign in to comment.