# encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20140304032423) do

  create_table "appointments", :force => true do |t|
    t.integer  "user_id"
    t.integer  "student_id"
    t.string   "title"
    t.text     "description"
    t.date     "date"
    t.time     "start_time"
    t.time     "end_time"
    t.datetime "created_at",  :null => false
    t.datetime "updated_at",  :null => false
  end

  create_table "assignments", :force => true do |t|
    t.integer  "contact_id"
    t.string   "description"
    t.string   "title"
    t.datetime "created_at",           :null => false
    t.datetime "updated_at",           :null => false
    t.string   "content_file_name"
    t.string   "content_content_type"
    t.integer  "content_file_size"
    t.datetime "content_updated_at"
  end

  create_table "contacts", :force => true do |t|
    t.string  "first_name"
    t.string  "last_name"
    t.string  "email"
    t.string  "address"
    t.string  "phone"
    t.integer "user_id"
  end

  create_table "dashboards", :force => true do |t|
    t.integer "user_id"
    t.integer "extension_id"
  end

  create_table "extensions", :force => true do |t|
    t.string "name"
  end

  create_table "payment_profiles", :force => true do |t|
    t.string   "access_token"
    t.string   "publishable_key"
    t.integer  "user_id"
    t.datetime "created_at",      :null => false
    t.datetime "updated_at",      :null => false
  end

  create_table "payments", :force => true do |t|
    t.integer "amount"
    t.integer "payment_profile_id"
    t.integer "student_id"
  end

  create_table "requests", :force => true do |t|
    t.string   "description"
    t.string   "title"
    t.integer  "contact_id"
    t.datetime "created_at",  :null => false
    t.datetime "updated_at",  :null => false
  end

  create_table "sounds", :force => true do |t|
    t.string  "access_token"
    t.integer "user_id"
  end

  create_table "users", :force => true do |t|
    t.string   "name"
    t.string   "email"
    t.datetime "created_at",     :null => false
    t.datetime "updated_at",     :null => false
    t.string   "password_hash"
    t.string   "remember_token"
    t.integer  "student_id"
  end

  add_index "users", ["remember_token"], :name => "index_users_on_remember_token"

end
