Permalink
Browse files

Update the README's create_table to match the schema.

  • Loading branch information...
1 parent 5998931 commit ce63517dd11415c0e6c9bb253c5eca9ad40635e9 @jbarnette jbarnette committed Sep 30, 2008
Showing with 8 additions and 8 deletions.
  1. +8 −8 README.textile
View
@@ -23,15 +23,15 @@ h2. Setup
The library evolves around a delayed_jobs table which looks as follows:
create_table :delayed_jobs, :force => true do |table|
- table.integer :priority, :default => 0
- table.integer :attempts, :default => 0
- table.text :handler
- table.string :last_error
- table.datetime :run_at
- table.datetime :locked_until
- table.string :locked_by
+ table.integer :priority, :default => 0
+ table.integer :attempts, :default => 0
+ table.text :handler
+ table.string :last_error
+ table.datetime :run_at
+ table.datetime :locked_at
+ table.string :locked_by
table.timestamps
- end
+ end
h2. Usage

0 comments on commit ce63517

Please sign in to comment.