diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-07-24 00:20:35 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-07-24 00:20:35 +0000 |
commit | 8a1d45ffd6c66d76d3d9c03badef58858c98c060 (patch) | |
tree | 75afa9e388e0435c81fe07b77e57a4a06b9fddaf /db | |
parent | 4b52b7a8df299e3850ee61ef84990eefd453415a (diff) | |
download | redmine-8a1d45ffd6c66d76d3d9c03badef58858c98c060.tar.gz redmine-8a1d45ffd6c66d76d3d9c03badef58858c98c060.zip |
Merged r3860 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@3861 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20100705164950_change_changes_path_length_limit.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/migrate/20100705164950_change_changes_path_length_limit.rb b/db/migrate/20100705164950_change_changes_path_length_limit.rb index 62ba4ec22..62b8644a4 100644 --- a/db/migrate/20100705164950_change_changes_path_length_limit.rb +++ b/db/migrate/20100705164950_change_changes_path_length_limit.rb @@ -1,6 +1,9 @@ class ChangeChangesPathLengthLimit < ActiveRecord::Migration def self.up + # these are two steps to please MySQL 5 on Win32 + change_column :changes, :path, :text, :default => nil, :null => true change_column :changes, :path, :text, :null => false + change_column :changes, :from_path, :text end |