mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-25 10:18:49 +02:00
Fix MySQL default text size limit
This commit is contained in:
@@ -2,7 +2,7 @@ class CreateCronoJobs < ActiveRecord::Migration
|
|||||||
def self.up
|
def self.up
|
||||||
create_table :crono_jobs do |t|
|
create_table :crono_jobs do |t|
|
||||||
t.string :job_id, null: false
|
t.string :job_id, null: false
|
||||||
t.text :log
|
t.text :log, limit: 4294967295 # LONGTEXT for MySQL
|
||||||
t.datetime :last_performed_at
|
t.datetime :last_performed_at
|
||||||
t.boolean :healthy
|
t.boolean :healthy
|
||||||
t.timestamps null: false
|
t.timestamps null: false
|
||||||
|
|||||||
Reference in New Issue
Block a user