mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
Updated DB schema
This commit is contained in:
parent
f395ee1266
commit
987f2848a8
1 changed files with 10 additions and 10 deletions
20
db/schema.rb
20
db/schema.rb
|
@ -2,15 +2,15 @@
|
||||||
# of editing this file, please use the migrations feature of Active Record to
|
# of editing this file, please use the migrations feature of Active Record to
|
||||||
# incrementally modify your database, and then regenerate this schema definition.
|
# incrementally modify your database, and then regenerate this schema definition.
|
||||||
#
|
#
|
||||||
# Note that this schema.rb definition is the authoritative source for your
|
# This file is the source Rails uses to define your schema when running `rails
|
||||||
# database schema. If you need to create the application database on another
|
# db:schema:load`. When creating a new database, `rails db:schema:load` tends to
|
||||||
# system, you should be using db:schema:load, not running all the migrations
|
# be faster and is potentially less error prone than running all of your
|
||||||
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
# migrations from scratch. Old migrations may fail to apply correctly if those
|
||||||
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
# migrations use external dependencies or application code.
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 2020_08_20_000743) do
|
ActiveRecord::Schema.define(version: 2022_02_22_184000) do
|
||||||
|
|
||||||
create_table "attachments", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :cascade do |t|
|
create_table "attachments", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :cascade do |t|
|
||||||
t.integer "todo_id"
|
t.integer "todo_id"
|
||||||
|
@ -96,7 +96,7 @@ ActiveRecord::Schema.define(version: 2020_08_20_000743) do
|
||||||
t.string "name", null: false
|
t.string "name", null: false
|
||||||
t.integer "position", default: 0
|
t.integer "position", default: 0
|
||||||
t.integer "user_id", default: 1
|
t.integer "user_id", default: 1
|
||||||
t.text "description", limit: 16777215
|
t.text "description", size: :medium
|
||||||
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"
|
||||||
|
@ -115,7 +115,7 @@ ActiveRecord::Schema.define(version: 2020_08_20_000743) 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", limit: 16777215
|
t.text "notes", size: :medium
|
||||||
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"
|
||||||
|
@ -169,7 +169,7 @@ ActiveRecord::Schema.define(version: 2020_08_20_000743) do
|
||||||
t.integer "context_id", null: false
|
t.integer "context_id", null: false
|
||||||
t.integer "project_id"
|
t.integer "project_id"
|
||||||
t.text "description", null: false
|
t.text "description", null: false
|
||||||
t.text "notes", limit: 16777215
|
t.text "notes", size: :medium
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "due"
|
t.datetime "due"
|
||||||
t.datetime "completed_at"
|
t.datetime "completed_at"
|
||||||
|
@ -178,7 +178,7 @@ ActiveRecord::Schema.define(version: 2020_08_20_000743) 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", limit: 16777215
|
t.text "rendered_notes", size: :medium
|
||||||
t.index ["context_id"], name: "index_todos_on_context_id"
|
t.index ["context_id"], name: "index_todos_on_context_id"
|
||||||
t.index ["project_id"], name: "index_todos_on_project_id"
|
t.index ["project_id"], name: "index_todos_on_project_id"
|
||||||
t.index ["state"], name: "index_todos_on_state"
|
t.index ["state"], name: "index_todos_on_state"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue