Skip to content
Permalink
Browse files

Code review comments.

  • Loading branch information...
markstory committed Jun 4, 2013
1 parent e4c737c commit 3420baa36f873762aa6b98e9aa6d20a904f3ee5f
Showing with 6 additions and 6 deletions.
  1. +5 −5 lib/Cake/Database/Schema/PostgresSchema.php
  2. +1 −1 lib/Cake/Database/Schema/SqliteSchema.php
@@ -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
]);
}
/**
@@ -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.

0 comments on commit 3420baa

Please sign in to comment.
You can’t perform that action at this time.