Flowdock
method

primary_key

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ColumnMethods
primary_key(name, type = :primary_key, **options) public

Appends a primary key definition to the table definition. Can be called multiple times, but this is probably not a good idea.

Show source
Register or log in to add new notes.