APIdock / Ruby on Rails
/
Browse About
method

valid_primary_key_options

v7.1.3.2 - Show latest stable - Class: ActiveRecord::ConnectionAdapters::MySQL::SchemaStatements
valid_primary_key_options()
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/mysql/schema_statements.rb, line 157
          def valid_primary_key_options
            super + [:unsigned]
          end

Related methods

  • Instance methods
  • create_schema_dumper
  • create_table
  • indexes
  • internal_string_options_for_primary_key
  • remove_column
  • schema_creation
  • table_alias_length
  • type_to_sql
  • update_table_definition
  • Private methods
  • privateadd_index_length
  • privateadd_options_for_index_columns
  • privatecreate_table_definition
  • privatedata_source_sql
  • privatedefault_row_format
  • privatedefault_type
  • privateextract_foreign_key_action
  • privateextract_schema_qualified_name
  • privatefetch_type_metadata
  • privateinteger_to_sql
  • privatelimit_to_size
  • privatenew_column_from_field
  • privatequoted_scope
  • privaterow_format_dynamic_by_default?
  • privatetype_with_size_to_sql
  • privatevalid_primary_key_options
APIdock API Documentation Browser

© 2026 APIdock