Sha256: 2342688bfeb0189b65143e306756209f2125982be0731d7ae6085f809caf416e

Contents?: true

Size: 277 Bytes

Versions: 6

Compression:

Stored size: 277 Bytes

Contents

# frozen_string_literal: true

class AddEnhancedTextworkCounterCacheCoauthorshipsToCollaborativeDrafts < ActiveRecord::Migration[5.2]
  def change
    add_column :decidim_enhanced_textwork_collaborative_drafts, :coauthorships_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/20180711074134_add_enhanced_textwork_counter_cache_coauthorships_to_collaborative_drafts.rb
decidim-enhanced_textwork-1.0.4 db/migrate/20180711074134_add_enhanced_textwork_counter_cache_coauthorships_to_collaborative_drafts.rb
decidim-enhanced_textwork-1.0.3 db/migrate/20180711074134_add_enhanced_textwork_counter_cache_coauthorships_to_collaborative_drafts.rb
decidim-enhanced_textwork-1.0.2 db/migrate/20180711074134_add_enhanced_textwork_counter_cache_coauthorships_to_collaborative_drafts.rb
decidim-enhanced_textwork-1.0.1 db/migrate/20180711074134_add_enhanced_textwork_counter_cache_coauthorships_to_collaborative_drafts.rb
decidim-enhanced_textwork-1.0.0 db/migrate/20180711074134_add_enhanced_textwork_counter_cache_coauthorships_to_collaborative_drafts.rb