| 1 | # This file is auto-generated from the current state of the database. Instead of editing this file, |
|---|
| 2 | # please use the migrations feature of ActiveRecord to incrementally modify your database, and |
|---|
| 3 | # then regenerate this schema definition. |
|---|
| 4 | # |
|---|
| 5 | # Note that this schema.rb definition is the authoritative source for your database schema. If you need |
|---|
| 6 | # to create the application database on another system, you should be using db:schema:load, not running |
|---|
| 7 | # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations |
|---|
| 8 | # you'll amass, the slower it'll run and the greater likelihood for issues). |
|---|
| 9 | # |
|---|
| 10 | # It's strongly recommended to check this file into your version control system. |
|---|
| 11 | |
|---|
| 12 | ActiveRecord::Schema.define(:version => 4) do |
|---|
| 13 | |
|---|
| 14 | create_table "feeds", :force => true do |t| |
|---|
| 15 | t.string "title" |
|---|
| 16 | t.string "uri" |
|---|
| 17 | t.integer "list_id" |
|---|
| 18 | t.datetime "created_at" |
|---|
| 19 | t.datetime "updated_at" |
|---|
| 20 | end |
|---|
| 21 | |
|---|
| 22 | add_index "feeds", ["list_id"], :name => "index_feeds_on_list_id" |
|---|
| 23 | |
|---|
| 24 | create_table "lists", :force => true do |t| |
|---|
| 25 | t.string "title" |
|---|
| 26 | t.text "description" |
|---|
| 27 | t.boolean "share", :default => true |
|---|
| 28 | t.boolean "public", :default => true |
|---|
| 29 | t.integer "user_id" |
|---|
| 30 | t.datetime "created_at" |
|---|
| 31 | t.datetime "updated_at" |
|---|
| 32 | t.integer "feeds_count", :default => 0 |
|---|
| 33 | end |
|---|
| 34 | |
|---|
| 35 | create_table "open_id_associations", :force => true do |t| |
|---|
| 36 | t.binary "server_url" |
|---|
| 37 | t.binary "secret" |
|---|
| 38 | t.string "handle" |
|---|
| 39 | t.string "assoc_type" |
|---|
| 40 | t.integer "issued" |
|---|
| 41 | t.integer "lifetime" |
|---|
| 42 | end |
|---|
| 43 | |
|---|
| 44 | create_table "open_id_nonces", :force => true do |t| |
|---|
| 45 | t.string "server_url", :null => false |
|---|
| 46 | t.string "salt", :null => false |
|---|
| 47 | t.integer "timestamp", :null => false |
|---|
| 48 | end |
|---|
| 49 | |
|---|
| 50 | create_table "users", :force => true do |t| |
|---|
| 51 | t.string "login" |
|---|
| 52 | t.string "email" |
|---|
| 53 | t.string "open_id_url" |
|---|
| 54 | t.string "crypted_password" |
|---|
| 55 | t.string "salt" |
|---|
| 56 | t.string "remember_token" |
|---|
| 57 | t.string "display_name" |
|---|
| 58 | t.string "icon_url" |
|---|
| 59 | t.string "website" |
|---|
| 60 | t.string "time_zone", :default => "Etc/UTC" |
|---|
| 61 | t.datetime "remember_token_expires_at" |
|---|
| 62 | t.datetime "last_login_at" |
|---|
| 63 | t.datetime "created_at" |
|---|
| 64 | t.datetime "updated_at" |
|---|
| 65 | end |
|---|
| 66 | |
|---|
| 67 | end |
|---|