/** * buildCreateTableQuery * @see \lasa\db\migration\Schema::buildCreateTableQuery() */ public function buildCreateTableQuery(Table $table) { $res = parent::buildCreateTableQuery($table); if ($table->getEngine()) { $res .= " ENGINE=" . $table->getEngine(); } if ($table->getCharset()) { $res .= " DEFAULT CHARSET=" . $table->getCharset(); } return $res; }