summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-06-14 18:26:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-06-14 18:26:27 +0000
commitf2acb56041b997812f4a2dc2e7258a16572df7d1 (patch)
tree46ae163fbeeba9ff056a448773632ba7620964b9 /db
parentff1343882ab9a1161b0c1308b65b66630c5b946e (diff)
downloadredmine-f2acb56041b997812f4a2dc2e7258a16572df7d1.tar.gz
redmine-f2acb56041b997812f4a2dc2e7258a16572df7d1.zip
A wiki page can now be attached to each version.
For that, edit the version and set the wiki page name (project wiki must be enabled). The wiki page content is displayed for each version on the roadmap view. git-svn-id: http://redmine.rubyforge.org/svn/trunk@564 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r--db/migrate/057_add_versions_wiki_page_title.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/057_add_versions_wiki_page_title.rb b/db/migrate/057_add_versions_wiki_page_title.rb
new file mode 100644
index 000000000..58b8fd9a8
--- /dev/null
+++ b/db/migrate/057_add_versions_wiki_page_title.rb
@@ -0,0 +1,9 @@
+class AddVersionsWikiPageTitle < ActiveRecord::Migration
+ def self.up
+ add_column :versions, :wiki_page_title, :string
+ end
+
+ def self.down
+ remove_column :versions, :wiki_page_title
+ end
+end