foodsoft/db/migrate/20181204060000_change_delivered_on_to_date.rb

6 lines
136 B
Ruby
Raw Normal View History

class ChangeDeliveredOnToDate < ActiveRecord::Migration[4.2]
def change
rename_column :deliveries, :delivered_on, :date
end
end