public static function hasMigrationFields(string $moduleName, array $fields, array $options = []): bool
    {
        $config = (new ModuleConfig(ConfigType::MIGRATION(), $moduleName, null, $options))->parseToArray();

        $fieldKeys = array_flip($fields);
        $diff = array_diff_key($fieldKeys, $config);

        return empty($diff);
    }