8 lines
177 B
Ruby
8 lines
177 B
Ruby
class CreateOrderProducts < ActiveRecord::Migration
|
|
def change
|
|
create_table :order_products do |t|
|
|
t.belongs_to :order
|
|
t.belongs_to :product
|
|
end
|
|
end
|
|
end
|