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.
 
 
 
 
 

90 lines
3.0 KiB

  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 => 20130408142010) 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 "layers", :force => true do |t|
  39. t.string "name"
  40. t.datetime "created_at", :null => false
  41. t.datetime "updated_at", :null => false
  42. end
  43. create_table "posts", :force => true do |t|
  44. t.string "title"
  45. t.string "url"
  46. t.string "author"
  47. t.text "summary"
  48. t.text "content"
  49. t.decimal "lat"
  50. t.decimal "lon"
  51. t.integer "feed_id"
  52. t.datetime "created_at", :null => false
  53. t.datetime "updated_at", :null => false
  54. t.string "guid"
  55. t.datetime "published"
  56. end
  57. create_table "subscriptions", :force => true do |t|
  58. t.integer "feed_id"
  59. t.integer "layer_id"
  60. t.datetime "created_at"
  61. t.datetime "updated_at"
  62. end
  63. add_index "subscriptions", ["feed_id", "layer_id"], :name => "index_feeds_layers_on_feed_id_and_layer_id", :unique => true
  64. add_index "subscriptions", ["id"], :name => "id"
  65. create_table "users", :force => true do |t|
  66. t.string "email"
  67. t.string "crypted_password"
  68. t.string "salt"
  69. t.datetime "created_at", :null => false
  70. t.datetime "updated_at", :null => false
  71. t.string "remember_me_token"
  72. t.datetime "remember_me_token_expires_at"
  73. t.string "reset_password_token"
  74. t.datetime "reset_password_token_expires_at"
  75. t.datetime "reset_password_email_sent_at"
  76. end
  77. add_index "users", ["remember_me_token"], :name => "index_users_on_remember_me_token"
  78. end