blob: 82d2a33eccc5d6fe31b73f796c704100dd75755e (
plain)
1
2
3
4
5
6
7
8
9
|
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
|