ColumnBlueprint constructor
const
ColumnBlueprint({
- required String name,
- required ColumnType type,
- bool nullable = true,
- int? length,
- int? precision,
- int? scale,
- bool unsigned = false,
- bool zeroFill = false,
- dynamic defaultValue,
- String? comment,
- String? collation,
- String? charset,
- String? expression,
- String? virtuality,
- bool autoIncrement = false,
- bool unique = false,
- List<
String> ? enumValues, - List<
String> ? setValues,
Implementation
const ColumnBlueprint({
required this.name,
required this.type,
this.nullable = true,
this.length,
this.precision,
this.scale,
this.unsigned = false,
this.zeroFill = false,
this.defaultValue,
this.comment,
this.collation,
this.charset,
this.expression,
this.virtuality,
this.autoIncrement = false,
this.unique = false,
this.enumValues,
this.setValues,
});