foodsoft/db/migrate/20181204060000_change_delivered_on_to_date.rb
Patrick Gansterer a5582e9542 Rename Delivery.delivered_on to date
This aligns it with column names of StockTaking and us to use inheritance
in a next step to share common code between the entities.
2020-09-05 13:52:18 +02:00

5 lines
131 B
Ruby

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