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();
    }
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();
    }
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 ( ) ; }
Get migration configurations

@return array
Get migration configurations