DbColumn.id constructor

const DbColumn.id([
  1. String name = 'id'
])

Coluna id padrĂ£o: BIGINT, PK, auto-incremento.

Implementation

const DbColumn.id([this.name = 'id'])
  : type = SqlType.bigint,
    nullable = false,
    unique = false,
    primaryKey = true,
    autoIncrement = true,
    references = null,
    defaultValue = null;