module Octopus::Migration::InstanceOrClassMethods

Public Instance Methods

announce_with_octopus(message) click to toggle source
# File lib/octopus/migration.rb, line 8
def announce_with_octopus(message)
  announce_without_octopus("#{message} - #{current_shard}")
end
current_shard() click to toggle source
# File lib/octopus/migration.rb, line 12
def current_shard
  "Shard: #{connection.current_shard}" if connection.respond_to?(:current_shard)
end