add recent schema.rb

This commit is contained in:
Reinier Balt 2014-03-04 17:08:22 +01:00
parent 6077af3ed0
commit b543f530e8

View file

@ -15,7 +15,7 @@ ActiveRecord::Schema.define(version: 20130227205845) do
create_table "contexts", force: true do |t|
t.string "name", null: false
t.integer "position"
t.integer "position", default: 0
t.integer "user_id", default: 1
t.datetime "created_at"
t.datetime "updated_at"
@ -86,9 +86,9 @@ ActiveRecord::Schema.define(version: 20130227205845) do
create_table "projects", force: true do |t|
t.string "name", null: false
t.integer "position"
t.integer "position", default: 0
t.integer "user_id", default: 1
t.text "description"
t.text "description", limit: 16777215
t.string "state", limit: 20, null: false
t.datetime "created_at"
t.datetime "updated_at"
@ -108,7 +108,7 @@ ActiveRecord::Schema.define(version: 20130227205845) do
t.integer "context_id", null: false
t.integer "project_id"
t.string "description", null: false
t.text "notes"
t.text "notes", limit: 16777215
t.string "state", limit: 20, null: false
t.datetime "start_from"
t.string "ends_on"
@ -141,7 +141,7 @@ ActiveRecord::Schema.define(version: 20130227205845) do
t.datetime "updated_at"
end
add_index "sessions", ["session_id"], name: "index_sessions_on_session_id", using: :btree
add_index "sessions", ["session_id"], name: "sessions_session_id_index", using: :btree
create_table "taggings", force: true do |t|
t.integer "taggable_id"
@ -165,7 +165,7 @@ ActiveRecord::Schema.define(version: 20130227205845) do
t.integer "context_id", null: false
t.integer "project_id"
t.string "description", null: false
t.text "notes"
t.text "notes", limit: 16777215
t.datetime "created_at"
t.datetime "due"
t.datetime "completed_at"
@ -174,7 +174,7 @@ ActiveRecord::Schema.define(version: 20130227205845) do
t.string "state", limit: 20, null: false
t.integer "recurring_todo_id"
t.datetime "updated_at"
t.text "rendered_notes"
t.text "rendered_notes", limit: 16777215
end
add_index "todos", ["context_id"], name: "index_todos_on_context_id", using: :btree
@ -212,7 +212,7 @@ ActiveRecord::Schema.define(version: 20130227205845) do
create_table "users", force: true do |t|
t.string "login", limit: 80, null: false
t.string "crypted_password", limit: 60, null: false
t.string "crypted_password", limit: 60
t.string "token"
t.boolean "is_admin", default: false, null: false
t.string "first_name"