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 => 20121122110821) do
16 create_table "taggings", :force => true do |t|
18 t.integer "taggable_id"
19 t.string "taggable_type"
21 t.string "tagger_type"
22 t.string "context", :limit => 128
23 t.datetime "created_at"
26 add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id"
27 add_index "taggings", ["taggable_id", "taggable_type", "context"], :name => "index_taggings_on_taggable_id_and_taggable_type_and_context"
29 create_table "tags", :force => true do |t|
33 create_table "users", :force => true do |t|
34 t.string "email", :default => "", :null => false
35 t.string "encrypted_password", :default => "", :null => false
36 t.string "reset_password_token"
37 t.datetime "reset_password_sent_at"
38 t.datetime "remember_created_at"
39 t.integer "sign_in_count", :default => 0
40 t.datetime "current_sign_in_at"
41 t.datetime "last_sign_in_at"
42 t.string "current_sign_in_ip"
43 t.string "last_sign_in_ip"
44 t.datetime "created_at", :null => false
45 t.datetime "updated_at", :null => false
49 add_index "users", ["email"], :name => "index_users_on_email", :unique => true
50 add_index "users", ["reset_password_token"], :name => "index_users_on_reset_password_token", :unique => true