PrimaryColumnInteger<T extends ColumnType<int?>> extension

Primary-key marking for integer columns, which support auto-increment.

on
  • T

Methods

primaryKey({required bool autoIncrement}) → T

Available on T, provided by the PrimaryColumnInteger extension

Marks this integer column as the primary key, optionally with auto-increment.