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.
 
 
 
 
 

68 lines
2.2 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 => 20130320181527) do
  14. create_table "feeds", :force => true do |t|
  15. t.string "title"
  16. t.string "feed_url"
  17. t.string "url"
  18. t.string "description"
  19. t.string "generator"
  20. t.datetime "created_at", :null => false
  21. t.datetime "updated_at", :null => false
  22. t.datetime "last_fetched"
  23. end
  24. create_table "feeds_layers", :id => false, :force => true do |t|
  25. t.integer "feed_id"
  26. t.integer "layer_id"
  27. end
  28. add_index "feeds_layers", ["feed_id", "layer_id"], :name => "index_feeds_layers_on_feed_id_and_layer_id"
  29. create_table "layers", :force => true do |t|
  30. t.string "name"
  31. t.datetime "created_at", :null => false
  32. t.datetime "updated_at", :null => false
  33. end
  34. create_table "posts", :force => true do |t|
  35. t.string "title"
  36. t.string "url"
  37. t.string "author"
  38. t.text "summary"
  39. t.text "content"
  40. t.decimal "lat"
  41. t.decimal "lon"
  42. t.integer "feed_id"
  43. t.datetime "created_at", :null => false
  44. t.datetime "updated_at", :null => false
  45. t.string "guid"
  46. t.datetime "published"
  47. end
  48. create_table "users", :force => true do |t|
  49. t.string "email"
  50. t.string "crypted_password"
  51. t.string "salt"
  52. t.datetime "created_at", :null => false
  53. t.datetime "updated_at", :null => false
  54. t.string "remember_me_token"
  55. t.datetime "remember_me_token_expires_at"
  56. end
  57. add_index "users", ["remember_me_token"], :name => "index_users_on_remember_me_token"
  58. end