Sha256: 0f2aa7011ceca5d1c8d4516907bc50605d6b7ff23f6dd1b9d337a2559d8f2500

Contents?: true

Size: 407 Bytes

Versions: 167

Compression:

Stored size: 407 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  module ConnectionAdapters
    module SQLite3
      class SchemaDumper < ConnectionAdapters::SchemaDumper # :nodoc:
        private
          def default_primary_key?(column)
            schema_type(column) == :integer
          end

          def explicit_primary_key_default?(column)
            column.bigint?
          end
      end
    end
  end
end

Version data entries

167 entries across 162 versions & 14 rubygems

Version Path
activerecord-7.1.5 lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
activerecord-7.1.4.2 lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
activerecord-7.0.8.6 lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
activerecord-6.1.7.10 lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
activerecord-6.1.7.9 lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
activerecord-7.1.4.1 lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
activerecord-7.0.8.5 lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
activerecord-7.1.4 lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
activerecord-7.1.3.4 lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
activerecord-7.0.8.4 lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
activerecord-6.1.7.8 lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
activerecord-7.1.3.2 lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
activerecord-7.1.3.1 lib/active_record/connection_adapters/sqlite3/schema_dumper.rb
activerecord-7.0.8.1 lib/active_record/connection_adapters/sqlite3/schema_dumper.rb