Wiki page hierarchy (#528). Parent page can be assigned on Rename screen.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1698 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-07-26 11:46:24 +00:00
parent b68fd4c04b
commit 60d066f943
38 changed files with 139 additions and 11 deletions

View File

@@ -0,0 +1,9 @@
class AddWikiPagesParentId < ActiveRecord::Migration
def self.up
add_column :wiki_pages, :parent_id, :integer, :default => nil
end
def self.down
remove_column :wiki_pages, :parent_id
end
end