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.29.1 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.28.4 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.27.9 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.29.0 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.28.3 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.27.8 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.29.0.rc4 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.29.0.rc3 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.29.0.rc2 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.29.0.rc1 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.28.2 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.27.7 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.28.1 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.27.6 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.26.10 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.26.9 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.28.0 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.27.5 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.28.0.rc5 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb
decidim-proposals-0.28.0.rc4 db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb