code quality and backreference support in controllers.

This commit is contained in:
Taylor Otwell
2012-01-25 16:07:16 -06:00
parent ae56f68c87
commit d4c5114792
3 changed files with 35 additions and 7 deletions

View File

@@ -75,9 +75,8 @@ class Schema {
}
// For some extra syntax sugar, we'll check for any implicit
// indexes on the table. The developer may specify the index
// type on the fluent column declaration. Here we'll find
// any implicit indexes and add the commands.
// indexes on the table since the developer may specify the
// index type on the fluent column declaration.
foreach ($table->columns as $column)
{
foreach (array('primary', 'unique', 'fulltext', 'index') as $key)