##// END OF EJS Templates
tagged version 0.5.1...
tagged version 0.5.1 git-svn-id: http://redmine.rubyforge.org/svn/tags/0.5.1@605 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r533:d34ea9a56986
r602:366d46c7012e 0.5.1
Show More
048_allow_null_version_effective_date.rb
9 lines | 210 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
change_column :versions, :effective_date, :date, :default => nil
end
def self.down
raise IrreversibleMigration
end
end