foodsoft/db/migrate/20181204060000_change_delivered_on_to_date.rb

6 lines
131 B
Ruby
Raw Normal View History

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