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

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

        return sprintf("%s\$this->execute(\"ALTER TABLE %s COLLATE=%s;\");", $this->ind2, $table, $collate);
    }
protected function getAlterTableCollate ( $ table , $ collate ) { $ table = $ this -> dba -> ident ( $ table ) ; $ collate = $ this -> dba -> quote ( $ collate ) ; return sprintf ( "%s\$this->execute(\"ALTER TABLE %s COLLATE=%s;\");" , $ this -> ind2 , $ table , $ collate ) ; }
Generate Alter Table Collate

@param string $table
@param string $collate

@return string
Generate Alter Table Collate