public function setUp()
 {
     parent::setUp();
     $platform = $this->_conn->getDatabasePlatform();
     if ($platform->getName() == "sqlite") {
         $this->markTestSkipped('TableGenerator does not work with SQLite');
     }
     try {
         $schema = new \Doctrine\DBAL\Schema\Schema();
         $visitor = new \Doctrine\DBAL\Id\TableGeneratorSchemaVisitor();
         $schema->visit($visitor);
         foreach ($schema->toSql($platform) as $sql) {
             $this->_conn->exec($sql);
         }
     } catch (\Exception $e) {
     }
     $this->generator = new TableGenerator($this->_conn);
 }