tap/db/migrate/20141125130447_create_order_products.rb

9 lines
177 B
Ruby
Raw Normal View History

class CreateOrderProducts < ActiveRecord::Migration
def change
create_table :order_products do |t|
t.belongs_to :order
t.belongs_to :product
end
end
end