foodsoft/db/migrate/017_add_min_order_quantity.rb
2020-09-05 14:40:11 +02:00

9 lines
210 B
Ruby

class AddMinOrderQuantity < ActiveRecord::Migration[4.2]
def self.up
add_column :suppliers, :min_order_quantity, :string
end
def self.down
remove_column :suppliers, :min_order_quantity
end
end