public function drop(Schema $schema)
{
$currentSchema = $this->connection->getSchemaManager()->createSchema();
$targetSchema = clone $currentSchema;
foreach ($schema->types() as $type) {
$targetSchema->dropTable($this->tableName($schema->name(), $type->name()));
}
$queries = $currentSchema->getMigrateToSql($targetSchema, $this->connection->getDatabasePlatform());
$this->executeQueries($queries);
}