Skip to content

Commit

Permalink
Nullify timestamps by default + non lazy Text columns
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Van Pelt <[email protected]>
  • Loading branch information
kusor authored and vanpelt committed May 13, 2009
1 parent 96e5396 commit b5943fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/delayed/job/data_mapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ class Job
property :id, Serial
property :priority, Integer, :default => 0
property :attempts, Integer, :default => 0
property :handler, Text
property :last_error, Text
property :handler, Text, :lazy => false
property :last_error, Text, :lazy => false
property :run_at, Time
property :locked_at, Time
property :locked_at, Time, :default => nil, :nullable => true
property :locked_by, String
property :failed_at, Time, :default => nil
property :failed_at, Time, :default => nil, :nullable => true
property :created_at, DateTime
property :updated_at, DateTime

Expand Down

0 comments on commit b5943fb

Please sign in to comment.