summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-02-27 13:34:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-02-27 13:34:41 +0000
commit262741913119f61eb4ccdd21410e552fdaca159d (patch)
tree76a647109db21853c4fa4fa04335a63fe76a80a4 /db
parentca807c8d928497bc8c68310bd852a2b85c83e975 (diff)
downloadredmine-262741913119f61eb4ccdd21410e552fdaca159d.tar.gz
redmine-262741913119f61eb4ccdd21410e552fdaca159d.zip
Keep track of issue description changes (#746).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4954 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20110227125750_change_journal_details_values_to_text.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20110227125750_change_journal_details_values_to_text.rb b/db/migrate/20110227125750_change_journal_details_values_to_text.rb
new file mode 100644
index 000000000..25886575c
--- /dev/null
+++ b/db/migrate/20110227125750_change_journal_details_values_to_text.rb
@@ -0,0 +1,11 @@
+class ChangeJournalDetailsValuesToText < ActiveRecord::Migration
+ def self.up
+ change_column :journal_details, :old_value, :text
+ change_column :journal_details, :value, :text
+ end
+
+ def self.down
+ change_column :journal_details, :old_value, :string
+ change_column :journal_details, :value, :string
+ end
+end