Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. # encoding: UTF-8
  2. # This file is auto-generated from the current state of the database. Instead
  3. # of editing this file, please use the migrations feature of Active Record to
  4. # incrementally modify your database, and then regenerate this schema definition.
  5. #
  6. # Note that this schema.rb definition is the authoritative source for your
  7. # database schema. If you need to create the application database on another
  8. # system, you should be using db:schema:load, not running all the migrations
  9. # from scratch. The latter is a flawed and unsustainable approach (the more migrations
  10. # you'll amass, the slower it'll run and the greater likelihood for issues).
  11. #
  12. # It's strongly recommended that you check this file into your version control system.
  13.  
  14. ActiveRecord::Schema.define(version: 20131202020726) do
  15.  
  16. # These are extensions that must be enabled in order to support this database
  17. enable_extension "plpgsql"
  18.  
  19. create_table "comments", force: true do |t|
  20. t.string "text"
  21. t.datetime "created_at"
  22. t.datetime "updated_at"
  23. end
  24.  
  25. create_table "requests", force: true do |t|
  26. t.string "title"
  27. t.string "description"
  28. t.datetime "created_at"
  29. t.datetime "updated_at"
  30. t.integer "user_id"
  31. t.integer "status"
  32. t.integer "queue_place"
  33. t.integer "progress"
  34. end
  35.  
  36. create_table "users", force: true do |t|
  37. t.string "email", default: "", null: false
  38. t.string "encrypted_password", default: "", null: false
  39. t.string "reset_password_token"
  40. t.datetime "reset_password_sent_at"
  41. t.datetime "remember_created_at"
  42. t.integer "sign_in_count", default: 0, null: false
  43. t.datetime "current_sign_in_at"
  44. t.datetime "last_sign_in_at"
  45. t.string "current_sign_in_ip"
  46. t.string "last_sign_in_ip"
  47. t.datetime "created_at"
  48. t.datetime "updated_at"
  49. t.string "name"
  50. t.integer "perms"
  51. end
  52.  
  53. add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree
  54. add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true, using: :btree
  55.  
  56. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement