cleaning up various codes.

This commit is contained in:
Taylor Otwell
2012-02-13 23:51:33 -06:00
parent f27ec7ab95
commit 479b3f6773
5 changed files with 54 additions and 17 deletions

View File

@@ -28,9 +28,6 @@ class MySQL extends Grammar {
// of the table as they're added in separate commands.
$sql = 'CREATE TABLE '.$this->wrap($table).' ('.$columns.')';
// MySQL supports various "engines" for database tables. If an engine was
// specified by the developer, we will set it after adding the columns
// the table creation statement the schema.
if ( ! is_null($table->engine))
{
$sql .= ' ENGINE = '.$table->engine;