GeoRSS aggregator and Layar augmented reality server
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

schema.rb 3.1 KiB

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