mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-22 09:43:52 +03:00
Fix accidentally removed statement in new migration
This commit is contained in:
parent
8fa4219b30
commit
fb572d5abb
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue