33 34 35 36
# File 'lib/switchman/active_record/migration.rb', line 33 def generate_migrator_advisory_lock_id shard_name_hash = Zlib.crc32(Shard.current.name) ::ActiveRecord::Migrator::MIGRATOR_SALT * shard_name_hash end