public function down(Schema $schema)
{
$this->abortIf($this->connection->getDatabasePlatform()->getName() != "postgresql");
if ($this->isPartyPackageInstalled()) {
$this->addSql("ALTER TABLE typo3_flow3_security_account DROP CONSTRAINT FK_65EFB31C89954EE0");
}
$this->addSql("ALTER TABLE typo3_flow3_resource_resource DROP CONSTRAINT FK_B4D45B323CB65D1");
$this->addSql("DROP TABLE typo3_flow3_resource_resourcepointer");
$this->addSql("DROP TABLE typo3_flow3_mvc_routing_objectpathmapping");
$this->addSql("DROP TABLE typo3_flow3_resource_resource");
$this->addSql("DROP TABLE typo3_flow3_security_account");
$this->addSql("DROP TABLE typo3_flow3_security_authorization_resource_securitypubli_6180a");
$this->addSql("DROP TABLE typo3_flow3_security_policy_role");
}