예제 #1
0
 /**
  * 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;
 }