Sha256: 8dba6f224189662c1894bed8b2c27997b6a8d59558ef40a0d5e62e79d04a8d53

Contents?: true

Size: 310 Bytes

Versions: 142

Compression:

Stored size: 310 Bytes

Contents

# 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

Version data entries

142 entries across 142 versions & 2 rubygems

Version Path
decidim-proposals-0.13.0 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.12.1 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.13.0.pre1 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.12.0 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.11.2 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.12.0.pre db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.11.1 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.11.0.pre1 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.10.1 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.10.0 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.9.3 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.9.2 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.9.1 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.9.0 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.8.4 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.8.3 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.8.2 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.8.1 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.8.0 db/migrate/20170113114245_add_text_search_indexes.rb
decidim-proposals-0.7.4 db/migrate/20170113114245_add_text_search_indexes.rb