blob: 168f0d68eee17b4661fce7cae8753a100d0c56ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: false
class AddBoardsParentId < ActiveRecord::Migration[4.2]
def up
add_column :boards, :parent_id, :integer
end
def down
remove_column :boards, :parent_id
end
end
|