Sha256: 827385a63a798f8bbac4122e4791473fdc24f28719a924c4fbb45a36c5ad5f1b
Contents?: true
Size: 519 Bytes
Versions: 13
Compression:
Stored size: 519 Bytes
Contents
class CreateDelayedJobs < ActiveRecord::Migration def self.up create_table :delayed_jobs do |t| t.integer :priority, :default => 0 t.integer :attempts, :default => 0 t.text :handler t.string :job_type t.string :name t.text :last_error t.datetime :run_at t.datetime :locked_at t.datetime :failed_at t.string :locked_by t.datetime :finished_at t.timestamps end end def self.down drop_table :delayed_jobs end end
Version data entries
13 entries across 13 versions & 1 rubygems