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:
@@ -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
|
||||
Reference in New Issue
Block a user