module Clear::Migration::FullTextSearchableHelpers

Direct including types

Defined in:

clear/extensions/full_text_searchable/migration.cr

Instance Method Summary

Instance Method Detail

def add_full_text_searchable(table, on : Array(Tuple(String, Char)), column_name = "full_text_vector", catalog = "pg_catalog.english", trigger_name = nil, function_name = nil) #

Add a tsvector field to a table. Create column, index and trigger.


[View source]