Sha256: e6edb640e9cb5f2d6fcea040c26228cd86a65ac25c877bf3434d28306d236149

Contents?: true

Size: 310 Bytes

Versions: 6

Compression:

Stored size: 310 Bytes

Contents

module ActiveRecord
  module ConnectionAdapters
    module CockroachDB
      module PostgreSQLColumnMonkeyPatch
        def serial?
          default_function == "unique_rowid()"
        end
      end
    end

    class PostgreSQLColumn
      prepend CockroachDB::PostgreSQLColumnMonkeyPatch
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
activerecord-cockroachdb-adapter-6.0.0beta2 lib/active_record/connection_adapters/cockroachdb/column.rb
activerecord-cockroachdb-adapter-6.0.0beta1 lib/active_record/connection_adapters/cockroachdb/column.rb
activerecord-cockroachdb-adapter-5.2.1 lib/active_record/connection_adapters/cockroachdb/column.rb
activerecord-cockroachdb-adapter-5.2.0 lib/active_record/connection_adapters/cockroachdb/column.rb
activerecord-cockroachdb-adapter-5.2.0.beta2 lib/active_record/connection_adapters/cockroachdb/column.rb
activerecord-cockroachdb-adapter-0.3.0.beta1 lib/active_record/connection_adapters/cockroachdb/column.rb