Sha256: cf94a6e9bdd943bcdf96a85aefde92cb25d0642f22a07bfd88b03b6158ab079b

Contents?: true

Size: 307 Bytes

Versions: 18

Compression:

Stored size: 307 Bytes

Contents

module ActiveRecord
  module Type
    class << self
      # Return :postgresql instead of :cockroachdb for current_adapter_name so
      # we can continue using the ActiveRecord::Types defined in
      # PostgreSQLAdapter.
      def adapter_name_from(_model)
        :postgresql
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
activerecord-cockroachdb-adapter-6.1.11 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-7.0.2 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-7.0.1 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-7.0.0 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.1.10 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.1.9 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.1.8 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.1.7 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.1.6 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.1.5 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.1.4 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.1.3 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.1.2 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.1.1 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.1.0 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.1.0.pre.beta.3 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.1.0.pre.beta.2 lib/active_record/connection_adapters/cockroachdb/type.rb
activerecord-cockroachdb-adapter-6.1.0beta1 lib/active_record/connection_adapters/cockroachdb/type.rb