--- /dev/null
+class CreateLineItems < ActiveRecord::Migration
+ def self.up
+ create_table :line_items do |t|
+ t.integer :product_id
+ t.integer :order_id
+ t.integer :quantity
+ t.decimal :total_price
+
+ t.timestamps
+ end
+ end
+
+ def self.down
+ drop_table :line_items
+ end
+end