code: protected function runMigration(array $file)
      {
          $this->repository->transaction(function (SqlMigrationRepository $repo) use ($file) {
              $contents = (string) $this->filesystem->read($file['path']);
              $repo->execute($contents);
          });
      }
docs: Run a migration inside a transaction if the database supports it.
  
  @param array $file
  @return void