Sha256: 74c56f2f35eac8c5f5ca62d6774b6e37bdae14642ec0fc88b3c930e6695cfed0

Contents?: true

Size: 403 Bytes

Versions: 73

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  module ConnectionAdapters
    module SQLite3
      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

73 entries across 73 versions & 7 rubygems

Version Path
activerecord-6.0.6.1 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-6.0.6 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-6.0.5.1 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-5.2.8.1 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-5.2.8 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-6.0.5 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-6.0.4.8 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-5.2.7.1 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-5.2.7 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-6.0.4.7 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-5.2.6.3 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-6.0.4.6 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-5.2.6.2 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-5.2.6.1 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-6.0.4.5 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-6.0.4.4 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-6.0.4.3 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-6.0.4.2 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-6.0.4.1 lib/active_record/connection_adapters/sqlite3/schema_creation.rb
activerecord-6.0.4 lib/active_record/connection_adapters/sqlite3/schema_creation.rb