Files
leadchat/db/migrate/20230224124632_add_index_for_search_operations.rb
Sojan Jose d4e7eaecce feat: New APIs for search (#6564)
- Adding new API endpoints for search
- Migrations to add appropriate indexes
2023-02-28 22:00:36 +05:30

7 lines
169 B
Ruby

class AddIndexForSearchOperations < ActiveRecord::Migration[6.1]
def change
enable_extension('pg_trgm')
Migration::AddSearchIndexesJob.perform_later
end
end