foodsoft/db/migrate/20181201000220_add_transpor...

7 lines
224 B
Ruby

class AddTransportToOrder < ActiveRecord::Migration[4.2]
def change
add_column :orders, :transport, :decimal, precision: 8, scale: 2
add_column :group_orders, :transport, :decimal, precision: 8, scale: 2
end
end