Sha256: d3daf4de21e40699cd8b2bd6426ebc8fb53b16131e2274d70b7fc21368703982

Contents?: true

Size: 305 Bytes

Versions: 147

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

class AddRootCommentableToComments < ActiveRecord::Migration[5.0]
  def change
    change_table :decidim_comments_comments do |t|
      t.references :decidim_root_commentable, polymorphic: true, index: { name: "decidim_comments_comment_root_commentable" }
    end
  end
end

Version data entries

147 entries across 147 versions & 2 rubygems

Version Path
decidim-comments-0.30.0.rc3 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.30.0.rc2 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.30.0.rc1 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.29.2 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.28.5 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.29.1 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.28.4 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.27.9 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.29.0 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.28.3 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.27.8 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.29.0.rc4 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.29.0.rc3 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.29.0.rc2 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.29.0.rc1 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.28.2 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.27.7 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.28.1 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.27.6 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.26.10 db/migrate/20170504085413_add_root_commentable_to_comments.rb