Class: AddDelayedJobExtras
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddDelayedJobExtras
- Defined in:
- lib/db/migrate/20090912171829_add_delayed_job_extras.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
7 8 9 10 |
# File 'lib/db/migrate/20090912171829_add_delayed_job_extras.rb', line 7 def self.down remove_column :delayed_jobs, :worker_class_name remove_column :delayed_jobs, :deleted_at end |
.up ⇒ Object
2 3 4 5 |
# File 'lib/db/migrate/20090912171829_add_delayed_job_extras.rb', line 2 def self.up add_column :delayed_jobs, :deleted_at, :datetime add_column :delayed_jobs, :worker_class_name, :string end |