Sha256: 9df0b75471e7c7ee7250bb61027fa5a5b2678cb9cc0fe7a6d9824cf527fcc463

Contents?: true

Size: 182 Bytes

Versions: 3

Compression:

Stored size: 182 Bytes

Contents

class AddCommentBoardId < ActiveRecord::Migration
  def self.up
    add_column :comments, :board_id, :integer
  end

  def self.down
    remove_column :comments, :board_id
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
adva_comments-0.2.0 db/migrate/20080721141112_add_comment_board_id.rb
adva_comments-0.1.0 db/migrate/20080721141112_add_comment_board_id.rb
adva-0.0.1 adva_comments/db/migrate/20080721141112_add_comment_board_id.rb