2007-05-20 21:46:02 +04:00
|
|
|
class AllowNullVersionEffectiveDate < ActiveRecord::Migration
|
|
|
|
def self.up
|
2008-02-13 00:11:16 +03:00
|
|
|
change_column :versions, :effective_date, :date, :default => nil, :null => true
|
2007-05-20 21:46:02 +04:00
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
raise IrreversibleMigration
|
|
|
|
end
|
|
|
|
end
|