summaryrefslogtreecommitdiffstats
path: root/db/migrate/048_allow_null_version_effective_date.rb
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