diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-31 17:17:52 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-31 17:17:52 +0000 |
commit | bc153cb61df37e2097c5bec529cabdb15e6887bf (patch) | |
tree | 05be0525dc3258c00349e7cc6b5ab333ca4139c0 /db/migrate/20120731164049_add_boards_parent_id.rb | |
parent | 9554f0133ff634264eb110c91ad317be28e6dd32 (diff) | |
download | redmine-bc153cb61df37e2097c5bec529cabdb15e6887bf.tar.gz redmine-bc153cb61df37e2097c5bec529cabdb15e6887bf.zip |
Support for subforums (#3831).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10142 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/20120731164049_add_boards_parent_id.rb')
-rw-r--r-- | db/migrate/20120731164049_add_boards_parent_id.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20120731164049_add_boards_parent_id.rb b/db/migrate/20120731164049_add_boards_parent_id.rb new file mode 100644 index 000000000..c9ce47f78 --- /dev/null +++ b/db/migrate/20120731164049_add_boards_parent_id.rb @@ -0,0 +1,9 @@ +class AddBoardsParentId < ActiveRecord::Migration + def up + add_column :boards, :parent_id, :integer + end + + def down + remove_column :boards, :parent_id + end +end |