1 2 3 4 5 6 7 8 9 10 11
# frozen_string_literal: false class AllowNullVersionEffectiveDate < ActiveRecord::Migration[4.2] def self.up change_column :versions, :effective_date, :date, :default => nil, :null => true end def self.down raise IrreversibleMigration end end