048_allow_null_version_effective_date.rb
9 lines
| 210 B
| text/x-ruby
|
RubyLexer
|
r533 | class AllowNullVersionEffectiveDate < ActiveRecord::Migration | ||
def self.up | ||||
change_column :versions, :effective_date, :date, :default => nil | ||||
end | ||||
def self.down | ||||
raise IrreversibleMigration | ||||
end | ||||
end | ||||