diff --git a/db/schema.rb b/db/schema.rb index 212f578a5..245be4108 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -2,15 +2,15 @@ # 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). +# This file is the source Rails uses to define your schema when running `rails +# db:schema:load`. When creating a new database, `rails db:schema:load` tends to +# be faster and is potentially less error prone than running all of your +# migrations from scratch. Old migrations may fail to apply correctly if those +# migrations use external dependencies or application code. # # 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| t.integer "todo_id" @@ -88,6 +88,7 @@ t.string "locale" t.integer "review_period", default: 14, null: false t.string "theme" + t.string "permitted_senders" t.string "sms_permitted_senders" t.index ["user_id"], name: "index_preferences_on_user_id" end @@ -96,7 +97,7 @@ t.string "name", null: false t.integer "position", default: 0 t.integer "user_id", default: 1 - t.text "description", limit: 16777215 + t.text "description", size: :medium t.string "state", limit: 20, null: false t.datetime "created_at" t.datetime "updated_at" @@ -115,7 +116,7 @@ t.integer "context_id", null: false t.integer "project_id" t.string "description", null: false - t.text "notes", limit: 16777215 + t.text "notes", size: :medium t.string "state", limit: 20, null: false t.datetime "start_from" t.string "ends_on" @@ -169,7 +170,7 @@ t.integer "context_id", null: false t.integer "project_id" t.text "description", null: false - t.text "notes", limit: 16777215 + t.text "notes", size: :medium t.datetime "created_at" t.datetime "due" t.datetime "completed_at" @@ -178,7 +179,7 @@ t.string "state", limit: 20, null: false t.integer "recurring_todo_id" 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 ["project_id"], name: "index_todos_on_project_id" t.index ["state"], name: "index_todos_on_state"