Sha256: 984b2f23cb6ad8d1b40950d5b8f73a694f8a989785f1916b250951e77daf1b44

Contents?: true

Size: 274 Bytes

Versions: 4

Compression:

Stored size: 274 Bytes

Contents

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

4 entries across 4 versions & 2 rubygems

Version Path
decidim-comments-0.2.0 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-0.2.0 decidim-comments/db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-comments-0.1.0 db/migrate/20170504085413_add_root_commentable_to_comments.rb
decidim-0.1.0 decidim-comments/db/migrate/20170504085413_add_root_commentable_to_comments.rb