# This file is auto-generated from the current state of the database. Instead of editing this file, # please use the migrations feature of Active Record to incrementally modify your database, and # then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative source for your database schema. If you need # to create the application database on another system, you should be using db:schema:load, not running # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the greater likelihood for issues). # # It's strongly recommended to check this file into your version control system. ActiveRecord::Schema.define(:version => 20091229164415) do create_table "articles", :force => true do |t| t.string "title" t.string "title_slug" t.text "body" t.text "body_html" t.integer "user_id" t.datetime "created_at" t.datetime "updated_at" end add_index "articles", ["title_slug"], :name => "index_articles_on_title_slug" add_index "articles", ["user_id"], :name => "index_articles_on_user_id" create_table "logins", :force => true do |t| t.string "openid_identifier" t.datetime "created_at" t.datetime "updated_at" end create_table "open_id_authentication_associations", :force => true do |t| t.integer "issued" t.integer "lifetime" t.string "handle" t.string "assoc_type" t.binary "server_url" t.binary "secret" end create_table "open_id_authentication_nonces", :force => true do |t| t.integer "timestamp", :null => false t.string "server_url" t.string "salt", :null => false end create_table "pages", :force => true do |t| t.string "title" t.string "title_slug" t.text "body" t.text "body_html" t.datetime "created_at" t.datetime "updated_at" end add_index "pages", ["title_slug"], :name => "index_pages_on_title_slug" create_table "taggings", :force => true do |t| t.integer "article_id" t.integer "tag_id" t.datetime "created_at" t.datetime "updated_at" end add_index "taggings", ["article_id"], :name => "index_taggings_on_article_id" add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id" create_table "tags", :force => true do |t| t.string "slug" t.datetime "created_at" t.datetime "updated_at" end add_index "tags", ["slug"], :name => "index_tags_on_slug" create_table "user_sessions", :force => true do |t| t.datetime "created_at" t.datetime "updated_at" end create_table "users", :force => true do |t| t.string "openid_identifier" t.string "persistence_token", :null => false t.integer "login_count", :default => 0, :null => false t.datetime "last_request_at" t.datetime "last_login_at" t.datetime "current_login_at" t.string "last_login_ip" t.string "current_login_ip" t.datetime "created_at" t.datetime "updated_at" end add_index "users", ["openid_identifier"], :name => "index_users_on_openid_identifier" end