method

primary_keys

Importance_0
v6.1.3.1 - 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 321
      def primary_keys(name = nil) # :nodoc:
        @primary_keys = PrimaryKeyDefinition.new(name) if name
        @primary_keys
      end
Register or log in to add new notes.