ColumnDef constructor
ColumnDef({
- required String columnName,
- required ColumnTypes type,
- bool isPrimaryKey = false,
- bool isUnique = false,
- bool isAutoIncrement = false,
- bool isNotNull = true,
- String? defaultValue,
- ForeingkeyRef? foreingKey,
- AlterColumnType? alterColumnType,
- 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,
});