method

integer_like_primary_key_type

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: TableDefinition
integer_like_primary_key_type(type, options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb, line 97
          def integer_like_primary_key_type(type, options)
            unless options[:auto_increment] == false
              options[:auto_increment] = true
            end

            type
          end
Register or log in to add new notes.