##// END OF EJS Templates
Added an administration setting to allow issue start date to be defaulted to blank (nil) at issue creation (#2269)....
Added an administration setting to allow issue start date to be defaulted to blank (nil) at issue creation (#2269). Based on the patch of #2277 contributed by Mischa The Evil. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7733 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3746:a628b0f186cf
r7613:269014ced887
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