Sha256: 8efb5ea3e62bb26489431121e027922fad0e65d3e869a49800ee974057bed784

Contents?: true

Size: 362 Bytes

Versions: 4

Compression:

Stored size: 362 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activerecord-5.0.0.beta3 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-5.0.0.beta2 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-5.0.0.beta1.1 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-5.0.0.beta1 lib/active_record/connection_adapters/sqlite3/schema_creation.rb