Sha256: 0182779239077264f9ecdac40f1bbc3fc661a3a302007fa8900dd150b5d4125b

Contents?: true

Size: 377 Bytes

Versions: 9

Compression:

Stored size: 377 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  module ConnectionAdapters
    module CockroachDB
      class SchemaCreation < PostgreSQL::SchemaCreation # :nodoc:
        private
          def add_column_options!(sql, options)
            if options[:hidden]
              sql << " NOT VISIBLE"
            end
            super
          end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
activerecord-cockroachdb-adapter-6.1.11 lib/active_record/connection_adapters/cockroachdb/schema_creation.rb
activerecord-cockroachdb-adapter-7.1.1 lib/active_record/connection_adapters/cockroachdb/schema_creation.rb
activerecord-cockroachdb-adapter-7.1.0 lib/active_record/connection_adapters/cockroachdb/schema_creation.rb
activerecord-cockroachdb-adapter-7.0.3 lib/active_record/connection_adapters/cockroachdb/schema_creation.rb
activerecord-cockroachdb-adapter-7.0.2 lib/active_record/connection_adapters/cockroachdb/schema_creation.rb
activerecord-cockroachdb-adapter-7.0.1 lib/active_record/connection_adapters/cockroachdb/schema_creation.rb
activerecord-cockroachdb-adapter-7.0.0 lib/active_record/connection_adapters/cockroachdb/schema_creation.rb
activerecord-cockroachdb-adapter-6.1.10 lib/active_record/connection_adapters/cockroachdb/schema_creation.rb
activerecord-cockroachdb-adapter-6.1.9 lib/active_record/connection_adapters/cockroachdb/schema_creation.rb