Sha256: 1e20455fbc74e3d5d5c453abc956e214be6af9ab5fc246fd4a3cd3a4be387b7e

Contents?: true

Size: 241 Bytes

Versions: 2

Compression:

Stored size: 241 Bytes

Contents

class AddParentCommentIdToCommontatorComments < ActiveRecord::Migration
  def change
    change_table :commontator_comments do |t|
      t.integer :parent_comment_id
    end

    add_index :commontator_comments, :parent_comment_id
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
commontator-5.1.0 db/migrate/1_add_parent_comment_id_to_commontator_comments.rb~
commontator-4.11.0 db/migrate/1_add_parent_comment_id_to_commontator_comments.rb~