foodsoft/db/migrate/017_add_min_order_quantity.rb

10 lines
210 B
Ruby
Raw Normal View History

class AddMinOrderQuantity < ActiveRecord::Migration[4.2]
2009-01-06 11:49:19 +01:00
def self.up
add_column :suppliers, :min_order_quantity, :string
end
def self.down
remove_column :suppliers, :min_order_quantity
end
end