public function down(Schema $schema)
 {
     if (class_exists('Prooph\\EventStore\\Adapter\\Doctrine\\Schema\\EventStoreSchema')) {
         EventStoreSchema::dropStream($schema);
     }
 }
 /**
  * @test
  */
 public function it_drops_custom_stream()
 {
     $schemaTool = new Schema();
     EventStoreSchema::createAggregateTypeStream($schemaTool, 'user_stream');
     EventStoreSchema::dropStream($schemaTool, 'user_stream');
     $this->assertFalse($schemaTool->hasTable('user_stream'));
 }