core/db/migrate/20151013082845_remove_null_option_of_shipment_method_id_on_comable_shipments.rb
class RemoveNullOptionOfShipmentMethodIdOnComableShipments < ActiveRecord::Migration
def change
reversible do |dir|
change_table :comable_shipments do |t|
dir.up { t.change :shipment_method_id, :integer, null: true }
dir.down { t.change :shipment_method_id, :integer, null: false }
end
end
end
end