Class: UpdateTotoroFailedMessages
- Inherits:
-
Object
- Object
- UpdateTotoroFailedMessages
- Defined in:
- lib/generators/totoro/templates/update_totoro_failed_messages.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 |
# File 'lib/generators/totoro/templates/update_totoro_failed_messages.rb', line 2 def change add_column :totoro_failed_messages, :group, :string Totoro::TotoroFailedMessage.all.update(group: 'enqueue') end |