Prettify the Customer pages
[cs356-p2-videostore.git] / db / schema.rb
index 192232a..f9d22a0 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 => 26) do
+ActiveRecord::Schema.define(:version => 27) do
 
   create_table "coitems", :force => true do |t|
     t.column "customer_id", :integer
@@ -77,6 +77,13 @@ ActiveRecord::Schema.define(:version => 26) do
 # Could not dump table "sqlite_sequence" because of following StandardError
 #   Unknown type '' for column 'name'
 
+  create_table "users", :force => true do |t|
+    t.column "name",            :string,                     :null => false
+    t.column "hashed_password", :string
+    t.column "salt",            :string
+    t.column "manager",         :boolean, :default => false
+  end
+
   create_table "video_policies", :force => true do |t|
     t.column "day",         :integer,                               :null => false
     t.column "fee",         :decimal, :precision => 8, :scale => 2, :null => false