Skip to content

Commit

Permalink
Use text so the jobs store properly on mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcamara committed Sep 17, 2024
1 parent 9dee371 commit 67f28bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions db/migrate/20240131013203_create_solid_queue_batch_table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ class CreateSolidQueueBatchTable < ActiveRecord::Migration[7.1]
def change
create_table :solid_queue_job_batches do |t|
t.references :job, index: { unique: true }
t.string :on_finish_active_job
t.string :on_success_active_job
t.text :on_finish_active_job
t.text :on_success_active_job
t.datetime :finished_at
t.datetime :changed_at
t.datetime :last_changed_at
Expand Down
4 changes: 2 additions & 2 deletions test/dummy/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@

create_table "solid_queue_job_batches", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t|
t.bigint "job_id"
t.string "on_finish_active_job"
t.string "on_success_active_job"
t.text "on_finish_active_job"
t.text "on_success_active_job"
t.datetime "finished_at"
t.datetime "changed_at"
t.datetime "last_changed_at"
Expand Down

0 comments on commit 67f28bd

Please sign in to comment.