Sha256: ccecc1ae4dc4d3688fb31ca44133200634b73676b374209bf5bb0103cbae7c32

Contents?: true

Size: 225 Bytes

Versions: 142

Compression:

Stored size: 225 Bytes

Contents

# frozen_string_literal: true

class AddCounterCacheVotesToProposals < ActiveRecord::Migration[5.0]
  def change
    add_column :decidim_proposals_proposals, :proposal_votes_count, :integer, null: false, default: 0
  end
end

Version data entries

142 entries across 142 versions & 2 rubygems

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