# 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 => 20100305060621) do create_table "projects", :force => true do |t| t.string "name" t.datetime "created_at" t.datetime "updated_at" t.integer "owner_id" t.boolean "archived", :default => false end add_index "projects", ["owner_id"], :name => "index_projects_on_owner_id" create_table "projects_users", :id => false, :force => true do |t| t.integer "project_id" t.integer "user_id" end create_table "tasks", :force => true do |t| t.string "name" t.integer "project_id" t.text "description" t.integer "parent" t.datetime "created_at" t.datetime "updated_at" t.integer "owner_id" t.integer "assigned_id" end add_index "tasks", ["assigned_id"], :name => "index_tasks_on_assigned_id" add_index "tasks", ["owner_id"], :name => "index_tasks_on_owner_id" create_table "users", :force => true do |t| t.string "email" t.string "encrypted_password", :limit => 128 t.string "salt", :limit => 128 t.string "confirmation_token", :limit => 128 t.string "remember_token", :limit => 128 t.boolean "email_confirmed", :default => false, :null => false t.datetime "created_at" t.datetime "updated_at" t.string "short_name" t.string "phone" t.string "mobile" t.string "im" end add_index "users", ["email"], :name => "index_users_on_email" add_index "users", ["id", "confirmation_token"], :name => "index_users_on_id_and_confirmation_token" add_index "users", ["remember_token"], :name => "index_users_on_remember_token" add_foreign_key "projects", "users", :name => "projects_owner_id_fk", :column => "owner_id" add_foreign_key "tasks", "users", :name => "tasks_owner_id_fk", :column => "owner_id" end