Skip to content

Commit

Permalink
Merge 6b48253 into 7fa3b30
Browse files Browse the repository at this point in the history
  • Loading branch information
felbalart committed Oct 12, 2018
2 parents 7fa3b30 + 6b48253 commit ce18b60
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class ChangeErrorToTextInActiveJobLogJobs < ActiveRecord::Migration[5.2]
def up
change_column :active_job_log_jobs, :error, :text
end

def down
change_column :active_job_log_jobs, :error, :string
end
end
6 changes: 4 additions & 2 deletions spec/dummy/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2018_05_11_184635) do
ActiveRecord::Schema.define(version: 2018_10_12_141224) do

create_table "active_job_log_jobs", force: :cascade do |t|
t.string "job_id"
t.text "params"
t.string "status"
t.string "job_class"
t.string "error"
t.text "error"
t.text "stack_trace"
t.datetime "queued_at"
t.datetime "started_at"
Expand All @@ -30,4 +31,5 @@
t.datetime "updated_at", null: false
t.index ["job_id"], name: "index_active_job_log_jobs_on_job_id"
end

end

0 comments on commit ce18b60

Please sign in to comment.