public static function getRealModuleFields(string $module, bool $validate = true) : array
    {
        $moduleFields = [];

        $mc = new ModuleConfig(ConfigType::MIGRATION(), $module, null, ['cacheSkip' => true]);
        $mc->setParser(new Parser($mc->createSchema(), ['validate' => $validate]));
        $moduleFields = Convert::objectToArray($mc->parse());
        $fields = Hash::extract($moduleFields, '{*}.name');

        return (array)$fields;
    }