Add rentable model-view-controller
[cs356-p2-videostore.git] / db / schema.rb
1 # This file is autogenerated. Instead of editing this file, please use the
2 # migrations feature of ActiveRecord to incrementally modify your database, and
3 # then regenerate this schema definition.
4
5 ActiveRecord::Schema.define(:version => 2) do
6
7   create_table "customers", :force => true do |t|
8     t.column "name",    :string
9     t.column "address", :string
10     t.column "email",   :string
11     t.column "phone",   :string
12     t.column "debt",    :decimal, :precision => 8, :scale => 2, :default => 0.0
13   end
14
15   create_table "rentables", :force => true do |t|
16     t.column "title", :string
17     t.column "genre", :string
18   end
19
20 end