summaryrefslogtreecommitdiffstats
path: root/db/migrate/023_add_tracker_is_in_roadmap.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-02-04 09:18:40 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-02-04 09:18:40 +0000
commit879a614cdec87c47f9c3240e82f28ebf01eee70f (patch)
treee2ad6d0731bc783b057df57adedb79cfce802f68 /db/migrate/023_add_tracker_is_in_roadmap.rb
parent8c3dc34359518e2a599afcec98728d9678a48b43 (diff)
downloadredmine-879a614cdec87c47f9c3240e82f28ebf01eee70f.tar.gz
redmine-879a614cdec87c47f9c3240e82f28ebf01eee70f.zip
added roadmap view
git-svn-id: http://redmine.rubyforge.org/svn/trunk@228 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/023_add_tracker_is_in_roadmap.rb')
-rw-r--r--db/migrate/023_add_tracker_is_in_roadmap.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/023_add_tracker_is_in_roadmap.rb b/db/migrate/023_add_tracker_is_in_roadmap.rb
new file mode 100644
index 000000000..82ef87bba
--- /dev/null
+++ b/db/migrate/023_add_tracker_is_in_roadmap.rb
@@ -0,0 +1,9 @@
+class AddTrackerIsInRoadmap < ActiveRecord::Migration
+ def self.up
+ add_column :trackers, :is_in_roadmap, :boolean, :default => true, :null => false
+ end
+
+ def self.down
+ remove_column :trackers, :is_in_roadmap
+ end
+end