defaultValue method
Add DEFAULT value constraint
Sets a default value for the column when no value is specified.
value
can be a string, number, or SQL expression.
Implementation
SchemaUtils defaultValue(dynamic value) {
if (value is String) {
_constraints.add("DEFAULT '$value'");
} else {
_constraints.add("DEFAULT $value");
}
return this;
}