summaryrefslogtreecommitdiffstats
path: root/db/migrate/069_add_issues_estimated_hours.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-15 14:54:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-15 14:54:15 +0000
commit89b349818bfaee2669aab99df9e11de84c0f145c (patch)
treeca30567f7ce31b9ffdcf57053b6e0d097215d086 /db/migrate/069_add_issues_estimated_hours.rb
parent4967f10356ea15f996376839a81e4f0e4947e53c (diff)
downloadredmine-89b349818bfaee2669aab99df9e11de84c0f145c.tar.gz
redmine-89b349818bfaee2669aab99df9e11de84c0f145c.zip
Added 'Estimated hours' attribute on issues.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@731 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/069_add_issues_estimated_hours.rb')
-rw-r--r--db/migrate/069_add_issues_estimated_hours.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/069_add_issues_estimated_hours.rb b/db/migrate/069_add_issues_estimated_hours.rb
new file mode 100644
index 000000000..90b86e243
--- /dev/null
+++ b/db/migrate/069_add_issues_estimated_hours.rb
@@ -0,0 +1,9 @@
+class AddIssuesEstimatedHours < ActiveRecord::Migration
+ def self.up
+ add_column :issues, :estimated_hours, :float
+ end
+
+ def self.down
+ remove_column :issues, :estimated_hours
+ end
+end