Sha256: ad4f927e0f796bbd07ceec955d2f4a6fb13b65df25af03099978ec791781ee7a

Contents?: true

Size: 375 Bytes

Versions: 20

Compression:

Stored size: 375 Bytes

Contents

module ActiveRecord
  module ConnectionAdapters
    module PostgreSQL
      class SchemaCreation < AbstractAdapter::SchemaCreation # :nodoc:
        private
          def add_column_options!(sql, options)
            if options[:collation]
              sql << " COLLATE \"#{options[:collation]}\""
            end
            super
          end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
activerecord-5.1.7 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.7.rc1 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.6.2 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.6.1 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.6 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.5 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.5.rc1 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.4 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.4.rc1 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.3 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.3.rc3 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.3.rc2 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.3.rc1 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.2 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.2.rc1 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.1 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.0 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.0.rc2 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.0.rc1 lib/active_record/connection_adapters/postgresql/schema_creation.rb
activerecord-5.1.0.beta1 lib/active_record/connection_adapters/postgresql/schema_creation.rb