;]
[askyou.git] / db / migrate / 048_allow_null_version_effective_date.rb
blob82d2a33eccc5d6fe31b73f796c704100dd75755e
1 class AllowNullVersionEffectiveDate < ActiveRecord::Migration
2   def self.up
3     change_column :versions, :effective_date, :date, :default => nil, :null => true
4   end
6   def self.down
7     raise IrreversibleMigration
8   end
9 end