foodsoft/db/migrate/20181204060000_change_deliv...

6 lines
136 B
Ruby

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