<?php

namespace PragmaRX\Tracker\Support;

use PragmaRX\Support\Migration as PragmaRxMigration;

abstract class Migration extends PragmaRxMigration
{
    protected function checkConnection()
    {
        $this->manager = app()->make('db');

        $this->connection = $this->manager->connection('tracker');

        parent::checkConnection();
    }
}

<?php

namespace PragmaRX\Tracker\Support;

use PragmaRX\Support\Migration as PragmaRxMigration;

abstract class Migration extends PragmaRxMigration
{
    protected function checkConnection()
    {
        $this->manager = app()->make('db');

        $this->connection = $this->manager->connection(config('tracker.connection'));

        parent::checkConnection();
    }
}

Fix migrations with default MySQL connection.
Fix migrations with default MySQL connection.