Skip to content

Commit

Permalink
Pass sequence name to AbstractPlatform::getDropSequenceSQL()
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed May 7, 2022
1 parent c2f3831 commit 0aa91c7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace Doctrine\Tests\ORM\Functional;

use Doctrine\DBAL\Schema\Sequence;
use Doctrine\ORM\Mapping\Column;
use Doctrine\ORM\Mapping\Entity;
use Doctrine\ORM\Mapping\GeneratedValue;
Expand Down Expand Up @@ -39,7 +38,7 @@ protected function tearDown(): void
// drop sequence manually due to dependency
$connection->executeStatement(
$platform->getDropSequenceSQL(
new Sequence($platform->getIdentitySequenceName('seq_identity', 'id'))
$platform->getIdentitySequenceName('seq_identity', 'id')
)
);
}
Expand Down

0 comments on commit 0aa91c7

Please sign in to comment.