SqlColumnModel constructor

SqlColumnModel(
  1. String name, {
  2. required SqlDataType type,
  3. bool primaryKey = false,
  4. bool autoIncrement = false,
  5. bool unique = false,
  6. bool notNull = false,
  7. Object? defaultValue,
})

Implementation

SqlColumnModel(this.name,
    {required this.type,
    this.primaryKey = false,
    this.autoIncrement = false,
    this.unique = false,
    this.notNull = false,
    this.defaultValue});