method

primary_keys

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: TableDefinition
primary_keys(name = nil) public

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/abstract/schema_definitions.rb, line 409
      def primary_keys(name = nil) # :nodoc:
        @primary_keys = PrimaryKeyDefinition.new(name) if name
        @primary_keys
      end
Register or log in to add new notes.