Fix accidentally removed statement in new migration

This commit is contained in:
Alejandro Celaya 2023-01-30 10:52:07 +01:00
parent 8fa4219b30
commit fb572d5abb

View file

@ -4,6 +4,7 @@ declare(strict_types=1);
namespace ShlinkMigrations;
use Doctrine\DBAL\Platforms\MySQLPlatform;
use Doctrine\DBAL\Platforms\SQLServerPlatform;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
@ -39,7 +40,7 @@ final class Version20230130090946 extends AbstractMigration
public function isTransactional(): bool
{
return false;
return ! ($this->connection->getDatabasePlatform() instanceof MySQLPlatform);
}
private function isMsSql(): bool