GeoRSS aggregator and Layar augmented reality server
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 

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