lib/khronos/storage/adapter/activerecord/migrations/schedule.rb in khronos-0.0.3.pre4 vs lib/khronos/storage/adapter/activerecord/migrations/schedule.rb in khronos-0.1.0
- old
+ new
@@ -7,10 +7,10 @@
def self.up
create_table :schedules do |t|
t.string :context, :null => false, :limit => 100
t.datetime :at, :null => false
t.string :task_url, :null => false
- t.integer :recurrency, :null => false
+ t.integer :recurrency, :null => true, :default => 0
t.string :callbacks, :null => true, :limit => 500
t.boolean :active, :null => false, :default => true
end
add_index :schedules, :at