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.
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).
12 # It's strongly recommended to check this file into your version control system.
14 ActiveRecord::Schema.define(:version => 20121125014228) do
16 create_table "links", :force => true do |t|
20 t.datetime "created_at", :null => false
21 t.datetime "updated_at", :null => false
24 add_index "links", ["user_id", "created_at"], :name => "index_links_on_user_id_and_created_at"
26 create_table "taggings", :force => true do |t|
28 t.integer "taggable_id"
29 t.string "taggable_type"
31 t.string "tagger_type"
32 t.string "context", :limit => 128
33 t.datetime "created_at"
36 add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id"
37 add_index "taggings", ["taggable_id", "taggable_type", "context"], :name => "index_taggings_on_taggable_id_and_taggable_type_and_context"
39 create_table "tags", :force => true do |t|
43 create_table "users", :force => true do |t|
44 t.string "encrypted_password", :default => "", :null => false
45 t.string "reset_password_token"
46 t.datetime "reset_password_sent_at"
47 t.datetime "remember_created_at"
48 t.integer "sign_in_count", :default => 0
49 t.datetime "current_sign_in_at"
50 t.datetime "last_sign_in_at"
51 t.string "current_sign_in_ip"
52 t.string "last_sign_in_ip"
53 t.datetime "created_at", :null => false
54 t.datetime "updated_at", :null => false
58 add_index "users", ["reset_password_token"], :name => "index_users_on_reset_password_token", :unique => true