Skip to content

Commit

Permalink
Merge branch 'master' into no-elixir
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjanss committed Oct 13, 2012
2 parents 394218d + 602ae04 commit 5f6d9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camelot/model/batch_job.py
Expand Up @@ -82,7 +82,7 @@ def model_run( self, model_context ):
@documented_entity()
class BatchJob( Entity ):
"""Information the batch job that is planned, running or has run"""
using_options( tablename = 'batch_job', order_by=['-date'] )
using_options( tablename = 'batch_job', order_by=['date desc'] )
date = Field( sqlalchemy.types.DateTime, required=True, default=datetime.datetime.now )
host = Field( sqlalchemy.types.Unicode(256), required=True, default=hostname )
type = ManyToOne( 'BatchJobType', required=True, ondelete = 'restrict', onupdate = 'cascade' )
Expand Down

0 comments on commit 5f6d9f9

Please sign in to comment.