defaultRaw method
Specifies a raw SQL default value for the column.
Example: defaultRaw('CURRENT_TIMESTAMP')
Implementation
ColumnDefinition defaultRaw(String sql) {
_defaultValue = sql;
_isDefaultRaw = true;
return this;
}
Specifies a raw SQL default value for the column.
Example: defaultRaw('CURRENT_TIMESTAMP')
ColumnDefinition defaultRaw(String sql) {
_defaultValue = sql;
_isDefaultRaw = true;
return this;
}