GeoRSS aggregator and Layar augmented reality server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

schema.rb 2.9 KiB

11 years ago
11 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 to check this file into your version control system.
  13. ActiveRecord::Schema.define(:version => 20130328153610) do
  14. create_table "delayed_jobs", :force => true do |t|
  15. t.integer "priority", :default => 0
  16. t.integer "attempts", :default => 0
  17. t.text "handler"
  18. t.text "last_error"
  19. t.datetime "run_at"
  20. t.datetime "locked_at"
  21. t.datetime "failed_at"
  22. t.string "locked_by"
  23. t.string "queue"
  24. t.datetime "created_at", :null => false
  25. t.datetime "updated_at", :null => false
  26. end
  27. add_index "delayed_jobs", ["priority", "run_at"], :name => "delayed_jobs_priority"
  28. create_table "feeds", :force => true do |t|
  29. t.string "title"
  30. t.string "feed_url"
  31. t.string "url"
  32. t.string "description"
  33. t.string "generator"
  34. t.datetime "created_at", :null => false
  35. t.datetime "updated_at", :null => false
  36. t.datetime "last_fetched"
  37. end
  38. create_table "feeds_layers", :id => false, :force => true do |t|
  39. t.integer "feed_id"
  40. t.integer "layer_id"
  41. end
  42. add_index "feeds_layers", ["feed_id", "layer_id"], :name => "index_feeds_layers_on_feed_id_and_layer_id", :unique => true
  43. create_table "layers", :force => true do |t|
  44. t.string "name"
  45. t.datetime "created_at", :null => false
  46. t.datetime "updated_at", :null => false
  47. end
  48. create_table "posts", :force => true do |t|
  49. t.string "title"
  50. t.string "url"
  51. t.string "author"
  52. t.text "summary"
  53. t.text "content"
  54. t.decimal "lat"
  55. t.decimal "lon"
  56. t.integer "feed_id"
  57. t.datetime "created_at", :null => false
  58. t.datetime "updated_at", :null => false
  59. t.string "guid"
  60. t.datetime "published"
  61. end
  62. create_table "users", :force => true do |t|
  63. t.string "email"
  64. t.string "crypted_password"
  65. t.string "salt"
  66. t.datetime "created_at", :null => false
  67. t.datetime "updated_at", :null => false
  68. t.string "remember_me_token"
  69. t.datetime "remember_me_token_expires_at"
  70. t.string "reset_password_token"
  71. t.datetime "reset_password_token_expires_at"
  72. t.datetime "reset_password_email_sent_at"
  73. end
  74. add_index "users", ["remember_me_token"], :name => "index_users_on_remember_me_token"
  75. end