mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 01:33:11 +08:00
Ensured migrations are not transactional when run in mysql
This commit is contained in:
@@ -66,4 +66,9 @@ final class Version20180913205455 extends AbstractMigration
|
||||
{
|
||||
// Nothing to rollback
|
||||
}
|
||||
|
||||
public function isTransactional(): bool
|
||||
{
|
||||
return $this->connection->getDatabasePlatform()->getName() !== 'mysql';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user