class ActiveRecord::DatabaseConfigurations::DatabaseConfig

:nodoc:
as this is the parent class for the types of database configuration objects.
UrlConfig respectively. It will never return a DatabaseConfig object,
ActiveRecord::Base.configurations will return either a HashConfig or

def for_current_env?

def for_current_env?
  env_name == ActiveRecord::ConnectionHandling::DEFAULT_ENV.call
end

def initialize(env_name, spec_name)

def initialize(env_name, spec_name)
  @env_name = env_name
  @spec_name = spec_name
end

def migrations_paths

def migrations_paths
  raise NotImplementedError
end

def replica?

def replica?
  raise NotImplementedError
end

def to_legacy_hash

def to_legacy_hash
  { env_name => config }
end

def url_config?

def url_config?
  false
end