method

generate_migrator_advisory_lock_id

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ActiveRecord::Migrator
generate_migrator_advisory_lock_id() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/migration.rb, line 1422
      def generate_migrator_advisory_lock_id
        db_name_hash = Zlib.crc32(Base.connection.current_database)
        MIGRATOR_SALT * db_name_hash
      end
Register or log in to add new notes.