module

Lustra::Migration::FullTextSearchableHelpers

Instance methods

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.

Source