src/Database/Migration/Generator/MySqlGenerator.php
protected function getAlterTableCharset($table, $charset)
    {
        $table = $this->dba->ident($table);
        $charset = $this->dba->quote($charset);

        return sprintf("%s\$this->execute(\"ALTER TABLE %s CHARSET=%s;\");", $this->ind2, $table, $charset);
    }
protected function getAlterTableCharset($table, $charset)
    {
        $table = $this->dba->ident($table);
        $charset = $this->dba->quote($charset);

        return sprintf("%s\$this->execute(\"ALTER TABLE %s CHARSET=%s;\");", $this->ind2, $table, $charset);
    }
protected function getAlterTableCharset ( $ table , $ charset ) { $ table = $ this -> dba -> ident ( $ table ) ; $ charset = $ this -> dba -> quote ( $ charset ) ; return sprintf ( "%s\$this->execute(\"ALTER TABLE %s CHARSET=%s;\");" , $ this -> ind2 , $ table , $ charset ) ; }
Generate Alter Table Charset.

@param string $table
@param string $charset

@return string
Generate Alter Table Charset .