Rename type column to category to avoid conflict with rails

This commit is contained in:
Maximilian Grundke
2018-08-14 17:55:17 +02:00
parent d6c64f5b91
commit f1278a7f48
2 changed files with 7 additions and 2 deletions

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20180814145059) do
ActiveRecord::Schema.define(version: 20180814154055) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -96,7 +96,7 @@ ActiveRecord::Schema.define(version: 20180814145059) do
add_index "errors", ["submission_id"], name: "index_errors_on_submission_id", using: :btree
create_table "events", force: :cascade do |t|
t.string "type"
t.string "category"
t.string "data"
t.integer "user_id"
t.string "user_type"