Skip to content

Commit 562e00d

Browse files
committed
Use text so the jobs store properly on mysql
1 parent 84c2ace commit 562e00d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

db/migrate/20240131013203_create_solid_queue_batch_table.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ class CreateSolidQueueBatchTable < ActiveRecord::Migration[7.1]
22
def change
33
create_table :solid_queue_job_batches do |t|
44
t.references :job, index: { unique: true }
5-
t.string :on_finish_active_job
6-
t.string :on_success_active_job
5+
t.text :on_finish_active_job
6+
t.text :on_success_active_job
77
t.datetime :finished_at
88
t.datetime :changed_at
99
t.datetime :last_changed_at

test/dummy/db/schema.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848

4949
create_table "solid_queue_job_batches", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t|
5050
t.bigint "job_id"
51-
t.string "on_finish_active_job"
52-
t.string "on_success_active_job"
51+
t.text "on_finish_active_job"
52+
t.text "on_success_active_job"
5353
t.datetime "finished_at"
5454
t.datetime "changed_at"
5555
t.datetime "last_changed_at"

0 commit comments

Comments
 (0)