test/dummy/db/schema.rb in errdo-0.10.0 vs test/dummy/db/schema.rb in errdo-0.11.0
- old
+ new
@@ -9,11 +9,11 @@
# 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).
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20160821003229) do
+ActiveRecord::Schema.define(version: 20161004015324) do
create_table "error_occurrences", force: :cascade do |t|
t.integer "error_id"
t.string "experiencer_type"
t.integer "experiencer_id"
@@ -45,14 +45,16 @@
t.integer "occurrence_count", default: 0
t.datetime "last_occurred_at"
t.string "last_experiencer_type"
t.integer "last_experiencer_id"
t.integer "status", default: 0
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
+ t.string "importance", default: "error"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
add_index "errors", ["backtrace_hash"], name: "index_errors_on_backtrace_hash", unique: true
+ add_index "errors", ["importance"], name: "index_errors_on_importance"
add_index "errors", ["last_experiencer_id"], name: "index_errors_on_last_experiencer_id"
add_index "errors", ["last_experiencer_type"], name: "index_errors_on_last_experiencer_type"
create_table "users", force: :cascade do |t|
t.string "email", default: "", null: false