mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-19 22:01:31 +00:00
Made delayed_jobs handler column a longtext
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
class IncreaseDelayedJobsHandler < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
# 4294967295 is the maximum longtext size for mysql
|
||||||
|
# change_column :delayed_jobs, :handler, :text, :limit => 4294967295
|
||||||
|
change_column :delayed_jobs, :handler, :longtext
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 2019_04_19_142230) do
|
ActiveRecord::Schema.define(version: 2019_04_20_021620) do
|
||||||
|
|
||||||
create_table "delayed_jobs", force: :cascade do |t|
|
create_table "delayed_jobs", force: :cascade do |t|
|
||||||
t.integer "priority", default: 0, null: false
|
t.integer "priority", default: 0, null: false
|
||||||
|
|||||||
Reference in New Issue
Block a user