protected function addRelationColumn($key, $field, $column)
    {
        $relatedColumn = Str::snake(class_basename($field)) . '_id';

        $method = 'integer';

        return "->{$method}('{$relatedColumn}')";
    }