##// END OF EJS Templates
remove trailing white-spaces from db/migrate/027_create_wikis.rb (#9510)...
remove trailing white-spaces from db/migrate/027_create_wikis.rb (#9510) Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7736 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1126:a2626bbccf87
r7616:418a4e49f85d
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
class AllowNullVersionEffectiveDate < ActiveRecord::Migration
def self.up
change_column :versions, :effective_date, :date, :default => nil, :null => true
end
def self.down
raise IrreversibleMigration
end
end