Add coitem MVC
[cs356-p2-videostore.git] / db / schema.rb
index dbb0282..13107c5 100644 (file)
@@ -2,7 +2,14 @@
 # migrations feature of ActiveRecord to incrementally modify your database, and
 # then regenerate this schema definition.
 
-ActiveRecord::Schema.define(:version => 2) do
+ActiveRecord::Schema.define(:version => 3) do
+
+  create_table "coitems", :force => true do |t|
+    t.column "customer_id", :integer
+    t.column "rentable_id", :integer
+    t.column "out_date",    :date,    :default => '2007-11-21'
+    t.column "due_date",    :date
+  end
 
   create_table "customers", :force => true do |t|
     t.column "name",    :string