protected function getReminderField(RepositoryInterface $table) : string
    {
        $config = (new ModuleConfig(ConfigType::MIGRATION(), $table->getRegistryAlias()))->parse();

        $fields = array_filter((array)$config, function ($field) {
            if ('reminder' === $field->type) {
                return $field;
            }
        });

        if (empty($fields)) {
            return '';
        }

        // FIXME: What should happen when there is more than 1 reminder field on the table?
        reset($fields);

        return current($fields)->name;
    }