ColumnDef constructor

ColumnDef({
  1. required String columnName,
  2. required ColumnTypes type,
  3. bool isPrimaryKey = false,
  4. bool isUnique = false,
  5. bool isAutoIncrement = false,
  6. bool isNotNull = true,
  7. String? defaultValue,
  8. ForeingkeyRef? foreingKey,
  9. AlterColumnType? alterColumnType,
  10. String? newColumnName,
})

Implementation

ColumnDef({
  required this.columnName,
  required this.type,
  this.isPrimaryKey = false,
  this.isUnique = false,
  this.isAutoIncrement = false,
  this.isNotNull = true,
  this.defaultValue,
  this.foreingKey,
  this.alterColumnType,
  this.newColumnName,
});