Fixing bugs in database layer.

This commit is contained in:
Taylor Otwell
2012-03-22 13:12:27 -05:00
parent 35e53b8cef
commit e96f75e8cc
2 changed files with 18 additions and 8 deletions

View File

@@ -136,7 +136,7 @@ class Table {
// the index that can be used when dropping indexes.
if (is_null($name))
{
$name = $this->name.implode('_', $columns).'_'.$type;
$name = $this->name.'_'.implode('_', $columns).'_'.$type;
}
return $this->command($type, compact('name', 'columns'));