Sha256: d5528ed0cd152f81f3e7639c1ba188e0274193ad6f7bcddd3e0f66907da2a55e

Contents?: true

Size: 318 Bytes

Versions: 142

Compression:

Stored size: 318 Bytes

Contents

# frozen_string_literal: true

class AddIndexToDecidimProposalsProposalsProposalVotesCount < ActiveRecord::Migration[5.0]
  def change
    add_index :decidim_proposals_proposals, :proposal_votes_count
    add_index :decidim_proposals_proposals, :created_at
    add_index :decidim_proposals_proposals, :state
  end
end

Version data entries

142 entries across 142 versions & 2 rubygems

Version Path
decidim-proposals-0.20.1 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.20.0 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.19.1 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.18.1 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.19.0 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.17.2 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.18.0 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.17.1 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.16.1 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.17.0 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.16.0 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.15.2 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.15.1 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.15.0 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.14.4 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.14.3 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.14.2 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.14.1 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.13.1 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb
decidim-proposals-0.12.2 db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb