# frozen_string_literal: true class AddTextSearchIndexes < ActiveRecord::Migration[5.0] def change add_index :decidim_proposals_proposals, :title, name: "decidim_proposals_proposal_title_search" add_index :decidim_proposals_proposals, :body, name: "decidim_proposals_proposal_body_search" end end