Please sign in to comment.
Extend changes.path and changes.from_path to support longer paths. #5771
Long paths to SCM files would be truncated or wouldn't insert into some databases. This extends those fields to support arbitrary length filenames. Contributed by Holger Just git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3828 e93f8b46-1217-0410-a6f0-8f06a7374b81
- Loading branch information...
Showing with 18 additions and 6 deletions.
|@@ -0,0 +1,11 @@|
|+class ChangeChangesPathLengthLimit < ActiveRecord::Migration|
|+ def self.up|
|+ change_column :changes, :path, :text, :default => "", :null => false|
|+ change_column :changes, :from_path, :text|
|+ def self.down|
|+ change_column :changes, :path, :string, :default => "", :null => false|
|+ change_column :changes, :from_path, :string|