public function up(Schema $schema)
{
$this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql");
$indexes = $this->sm->listTableIndexes('typo3_flow_security_account');
if (array_key_exists('flow3_identity_typo3_flow3_security_account', $indexes)) {
$this->addSql("DROP INDEX flow3_identity_typo3_flow3_security_account ON typo3_flow_security_account");
$this->addSql("CREATE UNIQUE INDEX flow_identity_typo3_flow_security_account ON typo3_flow_security_account (accountidentifier, authenticationprovidername)");
}
}