# encoding: UTF-8 # 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 => 20110909071740) do create_table "addresses", :force => true do |t| t.integer "user_id" t.string "street" t.string "city" t.string "postcode" t.integer "country_id" t.datetime "created_at" t.datetime "updated_at" end create_table "authors", :force => true do |t| t.string "first_name" t.string "last_name" t.datetime "created_at" t.datetime "updated_at" end create_table "book_with_custom_primary_keys", :primary_key => "uid", :force => true do |t| t.string "title" t.integer "author_id" t.datetime "created_at" t.datetime "updated_at" end create_table "books", :force => true do |t| t.integer "author_id" t.string "title" t.integer "exemplars" t.boolean "digitized", :default => false t.text "notes" t.string "tags" t.integer "rating" t.datetime "created_at" t.datetime "updated_at" t.datetime "last_read_at" t.date "published_on" end create_table "netzke_component_states", :force => true do |t| t.string "component" t.integer "user_id" t.integer "role_id" t.text "value" t.datetime "created_at" t.datetime "updated_at" end add_index "netzke_component_states", ["component"], :name => "index_netzke_component_states_on_component" add_index "netzke_component_states", ["role_id"], :name => "index_netzke_component_states_on_role_id" add_index "netzke_component_states", ["user_id"], :name => "index_netzke_component_states_on_user_id" create_table "netzke_temp_table", :force => true do |t| end create_table "roles", :force => true do |t| t.string "name" t.datetime "created_at" t.datetime "updated_at" end create_table "users", :force => true do |t| t.string "first_name" t.string "last_name" t.integer "role_id" t.datetime "created_at" t.datetime "updated_at" end end