DbColumn constructor

const DbColumn(
  1. String name,
  2. SqlType type, {
  3. bool nullable = false,
  4. bool unique = false,
  5. bool primaryKey = false,
  6. bool autoIncrement = false,
  7. String? references,
  8. String? defaultValue,
})

Implementation

const DbColumn(
  this.name,
  this.type, {
  this.nullable = false,
  this.unique = false,
  this.primaryKey = false,
  this.autoIncrement = false,
  this.references,
  this.defaultValue,
});