mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-04 22:03:49 +00:00
Increase the delayed job handler column size to match the tournament backups backup data size. This was preventing import jobs from saving.
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
class IncreaseDelayedJobHandlerSize < ActiveRecord::Migration[7.2]
|
||||||
|
def change
|
||||||
|
change_column :delayed_jobs, :handler, :text, limit: 4294967295 # Change to LONGTEXT
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -10,11 +10,11 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema[7.2].define(version: 2024_12_24_132705) do
|
ActiveRecord::Schema[7.2].define(version: 2025_01_05_001725) do
|
||||||
create_table "delayed_jobs", force: :cascade do |t|
|
create_table "delayed_jobs", force: :cascade do |t|
|
||||||
t.integer "priority", default: 0, null: false
|
t.integer "priority", default: 0, null: false
|
||||||
t.integer "attempts", default: 0, null: false
|
t.integer "attempts", default: 0, null: false
|
||||||
t.text "handler"
|
t.text "handler", limit: 4294967295
|
||||||
t.text "last_error"
|
t.text "last_error"
|
||||||
t.datetime "run_at", precision: nil
|
t.datetime "run_at", precision: nil
|
||||||
t.datetime "locked_at", precision: nil
|
t.datetime "locked_at", precision: nil
|
||||||
|
|||||||
Reference in New Issue
Block a user