##// 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:

r1126:a2626bbccf87
r7613:269014ced887
Show More
048_allow_null_version_effective_date.rb
9 lines | 225 B | text/x-ruby | RubyLexer
/ db / migrate / 048_allow_null_version_effective_date.rb
Jean-Philippe Lang
Versions can now be created with no date....
r533 class AllowNullVersionEffectiveDate < ActiveRecord::Migration
def self.up
Jean-Philippe Lang
Fixed: not null constraints not removed with Postgresql....
r1126 change_column :versions, :effective_date, :date, :default => nil, :null => true
Jean-Philippe Lang
Versions can now be created with no date....
r533 end
def self.down
raise IrreversibleMigration
end
end