##// END OF EJS Templates
Merged r7731 from trunk...
Merged r7731 from trunk Spanish translation updated by Ismael G Marin C. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@7732 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3746:a628b0f186cf
r7612:35ec8e35702c
Show More
20100705164950_change_changes_path_length_limit.rb
14 lines | 465 B | text/x-ruby | RubyLexer
/ db / migrate / 20100705164950_change_changes_path_length_limit.rb
Eric Davis
Extend changes.path and changes.from_path to support longer paths. #5771...
r3714 class ChangeChangesPathLengthLimit < ActiveRecord::Migration
def self.up
Eric Davis
Force-clear the default value for migration from :string to :text. #5846 #5771...
r3746 # these are two steps to please MySQL 5 on Win32
change_column :changes, :path, :text, :default => nil, :null => true
Eric Davis
Force the default value of path to be set on the Change model class. #5771...
r3716 change_column :changes, :path, :text, :null => false
Eric Davis
Force-clear the default value for migration from :string to :text. #5846 #5771...
r3746
Eric Davis
Extend changes.path and changes.from_path to support longer paths. #5771...
r3714 change_column :changes, :from_path, :text
end
def self.down
change_column :changes, :path, :string, :default => "", :null => false
change_column :changes, :from_path, :string
end
end