Guest User

Untitled

a guest
Oct 22nd, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. # This file is auto-generated from the current state of the database. Instead
  2. # of editing this file, please use the migrations feature of Active Record to
  3. # incrementally modify your database, and then regenerate this schema definition.
  4. #
  5. # Note that this schema.rb definition is the authoritative source for your
  6. # database schema. If you need to create the application database on another
  7. # system, you should be using db:schema:load, not running all the migrations
  8. # from scratch. The latter is a flawed and unsustainable approach (the more migrations
  9. # you'll amass, the slower it'll run and the greater likelihood for issues).
  10. #
  11. # It's strongly recommended to check this file into your version control system.
  12.  
  13. ActiveRecord::Schema.define(:version => 20110628171926) do
  14.  
  15. create_table "assets", :force => true do |t|
  16. t.integer "project_id"
  17. t.datetime "created_at"
  18. t.datetime "updated_at"
  19. t.string "attachment_file_name"
  20. t.string "attachment_content_type"
  21. t.integer "attachment_file_size"
  22. end
  23.  
  24. create_table "clients", :force => true do |t|
  25. t.string "name"
  26. t.datetime "created_at"
  27. t.datetime "updated_at"
  28. t.string "cache_slug"
  29. t.string "image_file_name"
  30. end
  31.  
  32. create_table "projects", :force => true do |t|
  33. t.integer "client_id"
  34. t.string "project_name"
  35. t.text "project_description"
  36. t.datetime "created_at"
  37. t.datetime "updated_at"
  38. end
  39.  
  40. create_table "slugs", :force => true do |t|
  41. t.string "name"
  42. t.integer "sluggable_id"
  43. t.integer "sequence", :default => 1, :null => false
  44. t.string "sluggable_type", :limit => 40
  45. t.string "scope"
  46. t.datetime "created_at"
  47. end
  48.  
  49. add_index "slugs", ["name", "sluggable_type", "sequence", "scope"], :name => "index_slugs_on_n_s_s_and_s", :unique => true
  50. add_index "slugs", ["sluggable_id"], :name => "index_slugs_on_sluggable_id"
  51.  
  52. create_table "users", :force => true do |t|
  53. t.string "email", :default => "", :null => false
  54. t.string "encrypted_password", :limit => 128, :default => "", :null => false
  55. t.string "reset_password_token"
  56. t.datetime "reset_password_sent_at"
  57. t.datetime "remember_created_at"
  58. t.integer "sign_in_count", :default => 0
  59. t.datetime "current_sign_in_at"
  60. t.datetime "last_sign_in_at"
  61. t.string "current_sign_in_ip"
  62. t.string "last_sign_in_ip"
  63. t.datetime "created_at"
  64. t.datetime "updated_at"
  65. end
  66.  
  67. add_index "users", ["email"], :name => "index_users_on_email", :unique => true
  68. add_index "users", ["reset_password_token"], :name => "index_users_on_reset_password_token", :unique => true
  69.  
  70. end
Add Comment
Please, Sign In to add comment