autoIncrement method

ColumnBuilder<T> autoIncrement()

Enables auto-increment for this column, which will also make this column the primary key of the table.

For this reason, you can't use an autoIncrement column and also set a custom Table.primaryKey on the same table.

Implementation

ColumnBuilder<T> autoIncrement() => _isGenerated();