mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 07:40:12 +01:00
add recent schema.rb
This commit is contained in:
parent
6077af3ed0
commit
b543f530e8
1 changed files with 21 additions and 21 deletions
16
db/schema.rb
16
db/schema.rb
|
|
@ -15,7 +15,7 @@ ActiveRecord::Schema.define(version: 20130227205845) do
|
||||||
|
|
||||||
create_table "contexts", force: true do |t|
|
create_table "contexts", force: true do |t|
|
||||||
t.string "name", null: false
|
t.string "name", null: false
|
||||||
t.integer "position"
|
t.integer "position", default: 0
|
||||||
t.integer "user_id", default: 1
|
t.integer "user_id", default: 1
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
|
|
@ -86,9 +86,9 @@ ActiveRecord::Schema.define(version: 20130227205845) do
|
||||||
|
|
||||||
create_table "projects", force: true do |t|
|
create_table "projects", force: true do |t|
|
||||||
t.string "name", null: false
|
t.string "name", null: false
|
||||||
t.integer "position"
|
t.integer "position", default: 0
|
||||||
t.integer "user_id", default: 1
|
t.integer "user_id", default: 1
|
||||||
t.text "description"
|
t.text "description", limit: 16777215
|
||||||
t.string "state", limit: 20, null: false
|
t.string "state", limit: 20, null: false
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
|
|
@ -108,7 +108,7 @@ ActiveRecord::Schema.define(version: 20130227205845) do
|
||||||
t.integer "context_id", null: false
|
t.integer "context_id", null: false
|
||||||
t.integer "project_id"
|
t.integer "project_id"
|
||||||
t.string "description", null: false
|
t.string "description", null: false
|
||||||
t.text "notes"
|
t.text "notes", limit: 16777215
|
||||||
t.string "state", limit: 20, null: false
|
t.string "state", limit: 20, null: false
|
||||||
t.datetime "start_from"
|
t.datetime "start_from"
|
||||||
t.string "ends_on"
|
t.string "ends_on"
|
||||||
|
|
@ -141,7 +141,7 @@ ActiveRecord::Schema.define(version: 20130227205845) do
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
end
|
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|
|
create_table "taggings", force: true do |t|
|
||||||
t.integer "taggable_id"
|
t.integer "taggable_id"
|
||||||
|
|
@ -165,7 +165,7 @@ ActiveRecord::Schema.define(version: 20130227205845) do
|
||||||
t.integer "context_id", null: false
|
t.integer "context_id", null: false
|
||||||
t.integer "project_id"
|
t.integer "project_id"
|
||||||
t.string "description", null: false
|
t.string "description", null: false
|
||||||
t.text "notes"
|
t.text "notes", limit: 16777215
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "due"
|
t.datetime "due"
|
||||||
t.datetime "completed_at"
|
t.datetime "completed_at"
|
||||||
|
|
@ -174,7 +174,7 @@ ActiveRecord::Schema.define(version: 20130227205845) do
|
||||||
t.string "state", limit: 20, null: false
|
t.string "state", limit: 20, null: false
|
||||||
t.integer "recurring_todo_id"
|
t.integer "recurring_todo_id"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.text "rendered_notes"
|
t.text "rendered_notes", limit: 16777215
|
||||||
end
|
end
|
||||||
|
|
||||||
add_index "todos", ["context_id"], name: "index_todos_on_context_id", using: :btree
|
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|
|
create_table "users", force: true do |t|
|
||||||
t.string "login", limit: 80, null: false
|
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.string "token"
|
||||||
t.boolean "is_admin", default: false, null: false
|
t.boolean "is_admin", default: false, null: false
|
||||||
t.string "first_name"
|
t.string "first_name"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue