private function getModuleFields(string $module) : array
    {
        $config = (new ModuleConfig(ConfigType::MIGRATION(), $module))->parse();
        $config = json_encode($config);
        if (false === $config) {
            return [];
        }

        $fields = json_decode($config, true);

        foreach ($fields as $k => $v) {
            $fields[$k] = new CsvField($v);
        }

        return $fields;
    }