#encoding=utf-8 class AddContestIdToBoards < ActiveRecord::Migration def change add_column :boards, :contest_id, :integer end end