primary method

ColumnDefinition primary()

Makes this column the primary key (use Blueprint.id for the usual auto-increment key).

Implementation

ColumnDefinition primary() {
  isPrimary = true;
  return this;
}