You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: find_searchable_columns.rb
    path of file: ./repos/motor-admin-rails/lib/motor/build_schema
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Motor
  module BuildSchema
    module FindSearchableColumns
      SELECT_COLUMNS_AMOUNT = 2
      COLUMN_TYPES = BuildSchema::SEARCHABLE_COLUMN_TYPES

      module_function

      def call(model)
        columns = find_searchable_col
    
      def find_searchable_columns(model)
        model.columns.map do |column|
          next unless column.type.in?(COLUMN_TYPES)
          next if column.try(:array?)
          next if model.validators_on(column.name).any?(ActiveModel::Validations::InclusionValidator)

          column.name
        end.compact
      end
    end