view db/migrate/20120731164049_add_boards_parent_id.rb @ 1390:ac480b6a13cf luisf

Removed javascript code from partials, so that it is included only once in the page.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 25 Sep 2013 17:44:05 +0100
parents 433d4f72a19b
children
line wrap: on
line source
class AddBoardsParentId < ActiveRecord::Migration
  def up
    add_column :boards, :parent_id, :integer
  end

  def down
    remove_column :boards, :parent_id
  end
end