Sha256: 6d647b5b972b4957c1536ccd1181eefa2e5e24c3624f9d03c5432c2c117015bf
Contents?: true
Size: 495 Bytes
Versions: 22
Compression:
Stored size: 495 Bytes
Contents
# frozen_string_literal: true module ActiveRecord # This class is used to create a connection that we can use for advisory # locks. This will take out a "global" lock that can't be accidentally # removed if a new connection is established during a migration. class AdvisoryLockBase < ActiveRecord::Base # :nodoc: self.abstract_class = true self.connection_specification_name = "AdvisoryLockBase" class << self def _internal? true end end end end
Version data entries
22 entries across 22 versions & 1 rubygems