1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-24 17:04:43 +00:00

Increased solid queue arguments limit to support tournament backups

This commit is contained in:
2026-01-09 00:49:32 -05:00
parent cfd3e7aecd
commit 8c2ddf55ed
2 changed files with 12 additions and 2 deletions

View File

@@ -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