protected function getMigrationsConfig()
    {
        $dir = $this->getPackageDir();

        // specific location
        if ($migrations = $this->getPackageOptionFile('anime-db-migrations')) {
            return $dir.$migrations;
        }

        if (file_exists($dir.'migrations.yml')) {
            return $dir.'migrations.yml';
        } elseif (file_exists($dir.'migrations.xml')) {
            return $dir.'migrations.xml';
        }

        return;
    }