Skip to content

Commit 987f284

Browse files
committed
Updated DB schema
1 parent f395ee1 commit 987f284

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

db/schema.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
# of editing this file, please use the migrations feature of Active Record to
33
# incrementally modify your database, and then regenerate this schema definition.
44
#
5-
# Note that this schema.rb definition is the authoritative source for your
6-
# database schema. If you need to create the application database on another
7-
# system, you should be using db:schema:load, not running all the migrations
8-
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
9-
# you'll amass, the slower it'll run and the greater likelihood for issues).
5+
# This file is the source Rails uses to define your schema when running `rails
6+
# db:schema:load`. When creating a new database, `rails db:schema:load` tends to
7+
# be faster and is potentially less error prone than running all of your
8+
# migrations from scratch. Old migrations may fail to apply correctly if those
9+
# migrations use external dependencies or application code.
1010
#
1111
# It's strongly recommended that you check this file into your version control system.
1212

13-
ActiveRecord::Schema.define(version: 2020_08_20_000743) do
13+
ActiveRecord::Schema.define(version: 2022_02_22_184000) do
1414

1515
create_table "attachments", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :cascade do |t|
1616
t.integer "todo_id"
@@ -96,7 +96,7 @@
9696
t.string "name", null: false
9797
t.integer "position", default: 0
9898
t.integer "user_id", default: 1
99-
t.text "description", limit: 16777215
99+
t.text "description", size: :medium
100100
t.string "state", limit: 20, null: false
101101
t.datetime "created_at"
102102
t.datetime "updated_at"
@@ -115,7 +115,7 @@
115115
t.integer "context_id", null: false
116116
t.integer "project_id"
117117
t.string "description", null: false
118-
t.text "notes", limit: 16777215
118+
t.text "notes", size: :medium
119119
t.string "state", limit: 20, null: false
120120
t.datetime "start_from"
121121
t.string "ends_on"
@@ -169,7 +169,7 @@
169169
t.integer "context_id", null: false
170170
t.integer "project_id"
171171
t.text "description", null: false
172-
t.text "notes", limit: 16777215
172+
t.text "notes", size: :medium
173173
t.datetime "created_at"
174174
t.datetime "due"
175175
t.datetime "completed_at"
@@ -178,7 +178,7 @@
178178
t.string "state", limit: 20, null: false
179179
t.integer "recurring_todo_id"
180180
t.datetime "updated_at"
181-
t.text "rendered_notes", limit: 16777215
181+
t.text "rendered_notes", size: :medium
182182
t.index ["context_id"], name: "index_todos_on_context_id"
183183
t.index ["project_id"], name: "index_todos_on_project_id"
184184
t.index ["state"], name: "index_todos_on_state"

0 commit comments

Comments
 (0)