Sha256: dc8df20f2f41e5f5dcd574f2b5a04650ae17f9d6f7cec96ed562a9efdbb1c247

Contents?: true

Size: 236 Bytes

Versions: 6

Compression:

Stored size: 236 Bytes

Contents

# frozen_string_literal: true

class AddCounterCacheVotesToParagraphs < ActiveRecord::Migration[5.0]
  def change
    add_column :decidim_enhanced_textwork_paragraphs, :paragraph_votes_count, :integer, null: false, default: 0
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-enhanced_textwork-1.0.5 db/migrate/20170118120151_add_counter_cache_votes_to_paragraphs.rb
decidim-enhanced_textwork-1.0.4 db/migrate/20170118120151_add_counter_cache_votes_to_paragraphs.rb
decidim-enhanced_textwork-1.0.3 db/migrate/20170118120151_add_counter_cache_votes_to_paragraphs.rb
decidim-enhanced_textwork-1.0.2 db/migrate/20170118120151_add_counter_cache_votes_to_paragraphs.rb
decidim-enhanced_textwork-1.0.1 db/migrate/20170118120151_add_counter_cache_votes_to_paragraphs.rb
decidim-enhanced_textwork-1.0.0 db/migrate/20170118120151_add_counter_cache_votes_to_paragraphs.rb