Add Bitem (bought items) MVC
[cs356-p2-videostore.git] / db / schema.rb
index 73ad8b3..dcfe7d9 100644 (file)
@@ -2,7 +2,13 @@
 # migrations feature of ActiveRecord to incrementally modify your database, and
 # then regenerate this schema definition.
 
-ActiveRecord::Schema.define(:version => 14) do
+ActiveRecord::Schema.define(:version => 15) do
+
+  create_table "bitems", :force => true do |t|
+    t.column "customer_id",    :integer, :null => false
+    t.column "merchandise_id", :integer, :null => false
+    t.column "date",           :date,    :null => false
+  end
 
   create_table "coitems", :force => true do |t|
     t.column "customer_id", :integer