Skip to content

Commit

Permalink
Fix deprecation in ActiveRecord::Migration#timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Dec 22, 2014
1 parent 51365fa commit 1240e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/delayed_job/templates/migration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def self.up
table.datetime :failed_at # Set when all retries have failed (actually, by default, the record is deleted instead)
table.string :locked_by # Who is working on this object (if locked)
table.string :queue # The name of the queue this job is in
table.timestamps
table.timestamps null: true
end

add_index :delayed_jobs, [:priority, :run_at], name: "delayed_jobs_priority"
Expand Down

0 comments on commit 1240e8d

Please sign in to comment.