protected function getMigrationConfig($downloadPath)
    {
        $extra = ($pkg = $this->composer->getPackage()) ? $pkg->getExtra() : array();
        // Check CI APPPATH
        $appPath = defined('APPPATH') ? APPPATH : $extra['codeigniter-application-dir'];
        // $appPath = defined('APPPATH') ? APPPATH : dirname(dirname($downloadPath));
        // Load CI Migration Config
        @include $appPath . '/config/migration.php';

        return isset($config) ? $config : array();
    }