Add RentablePolicy, to get set up for adding policies
[cs356-p2-videostore.git] / db / schema.rb
index ae1459b..8132da3 100644 (file)
@@ -2,7 +2,7 @@
 # migrations feature of ActiveRecord to incrementally modify your database, and
 # then regenerate this schema definition.
 
-ActiveRecord::Schema.define(:version => 20) do
+ActiveRecord::Schema.define(:version => 21) do
 
   create_table "bitems", :force => true do |t|
     t.column "customer_id",    :integer, :null => false
@@ -48,6 +48,12 @@ ActiveRecord::Schema.define(:version => 20) do
     t.column "quantity",       :integer
   end
 
+  create_table "rentable_policies", :force => true do |t|
+    t.column "name",        :string,  :null => false
+    t.column "value",       :integer
+    t.column "description", :string,  :null => false
+  end
+
   create_table "rentables", :force => true do |t|
     t.column "type",        :string
     t.column "title",       :string