ColumnDefinition constructor
const
ColumnDefinition({
- required String name,
- required String field,
- required ScalarType type,
- bool nullable = false,
- bool primaryKey = false,
- bool identity = false,
- bool unique = false,
- Object? defaultValue,
- ForeignKey? references,
Implementation
const ColumnDefinition({
required this.name,
required this.field,
required this.type,
this.nullable = false,
this.primaryKey = false,
this.identity = false,
this.unique = false,
this.defaultValue,
this.references,
});