Module: Octopus::Migration::InstanceOrClassMethods
- Included in:
- Octopus::Migration
- Defined in:
- lib/octopus/migration.rb
Instance Method Summary collapse
Instance Method Details
#announce_with_octopus(message) ⇒ Object
8 9 10 |
# File 'lib/octopus/migration.rb', line 8 def announce_with_octopus() announce_without_octopus("#{} - #{current_shard}") end |
#current_shard ⇒ Object
12 13 14 |
# File 'lib/octopus/migration.rb', line 12 def current_shard "Shard: #{connection.current_shard}" if connection.respond_to?(:current_shard) end |