mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Increased solid queue arguments limit to support tournament backups
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class IncreaseSolidQueueJobArgumentsLimit < ActiveRecord::Migration[8.0]
|
||||
def up
|
||||
# Allow large payloads (e.g., pasted import text) to be enqueued without blowing up MySQL's TEXT limit (~64KB).
|
||||
change_column :solid_queue_jobs, :arguments, :text, limit: 16.megabytes - 1
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :solid_queue_jobs, :arguments, :text
|
||||
end
|
||||
end
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[8.0].define(version: 2025_04_04_153529) do
|
||||
ActiveRecord::Schema[8.0].define(version: 2025_05_04_190000) do
|
||||
create_table "solid_queue_blocked_executions", force: :cascade do |t|
|
||||
t.bigint "job_id", null: false
|
||||
t.string "queue_name", null: false
|
||||
@@ -41,7 +41,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_04_04_153529) do
|
||||
create_table "solid_queue_jobs", force: :cascade do |t|
|
||||
t.string "queue_name", null: false
|
||||
t.string "class_name", null: false
|
||||
t.text "arguments"
|
||||
t.text "arguments", limit: 16777215
|
||||
t.integer "priority", default: 0, null: false
|
||||
t.string "active_job_id"
|
||||
t.datetime "scheduled_at"
|
||||
|
||||
Reference in New Issue
Block a user