public function down(Schema $schema)
{
$this->abortIf($this->connection->getDatabasePlatform()->getName() != "postgresql");
$this->addSql("DROP TABLE typo3_flow_security_account_roles_join");
$this->addSql("DROP TABLE typo3_flow_security_policy_role_parentroles_join");
$this->addSql("ALTER TABLE typo3_flow_security_account ADD roles TEXT");
$this->addSql("COMMENT ON COLUMN typo3_flow_security_account.roles IS '(DC2Type:array)'");
$this->addSql("ALTER TABLE typo3_flow_security_policy_role DROP sourcehint");
$this->migrateAccountRolesDown();
$this->addSql("ALTER TABLE typo3_flow_security_account ALTER roles SET NOT NULL");
$this->addSql("TRUNCATE TABLE typo3_flow_security_policy_role");
}