Sha256: 76ca6dbc5d8f52fff956db49fc91b2e44ab32da489129cce0dfa6dd8340cc3c1

Contents?: true

Size: 317 Bytes

Versions: 14

Compression:

Stored size: 317 Bytes

Contents

module ActiveRecord
  module Type
    class << self
      private

      # Return :postgresql instead of :cockroachdb for current_adapter_name so
      # we can continue using the ActiveRecord::Types defined in
      # PostgreSQLAdapter.
      def current_adapter_name
        :postgresql
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
activerecord-cockroachdb-adapter-5.2.3 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.0.2 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.0.1 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.0.0 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.0.0.pre.beta.5 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.0.0.pre.beta.4 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.0.0beta3 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-5.2.2 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.0.0beta2 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.0.0beta1 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-5.2.1 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-5.2.0 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-5.2.0.beta2 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-0.3.0.beta1 lib/active_record/connection_adapters/cockroachdb/type.rb