blob: 4b46bfe0e47f08e69c5a7e44328f8c09021cc3bf (
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
end
def self.down
raise IrreversibleMigration
end
end
|