2014-12-04 19:50:02 +01:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: order_products
|
|
|
|
#
|
|
|
|
# id :integer not null, primary key
|
|
|
|
# order_id :integer
|
|
|
|
# product_id :integer
|
|
|
|
# count :integer default(1)
|
|
|
|
#
|
|
|
|
|
2014-11-25 14:27:27 +01:00
|
|
|
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
|
|
|
|
|
|
|
# This model initially had no columns defined. If you add columns to the
|
|
|
|
# model remove the '{}' from the fixture names and add the columns immediately
|
|
|
|
# below each fixture, per the syntax in the comments below
|
|
|
|
#
|
|
|
|
one: {}
|
|
|
|
# column: value
|
|
|
|
#
|
|
|
|
two: {}
|
|
|
|
# column: value
|