typeToSQLType method
String?
typeToSQLType(
- TypeInfo type,
- String column, {
- List<
EntityField> ? entityFieldAnnotations,
override
Implementation
@override
String? typeToSQLType(TypeInfo type, String column,
{List<EntityField>? entityFieldAnnotations}) {
var sqlType = super.typeToSQLType(type, column,
entityFieldAnnotations: entityFieldAnnotations);
if (sqlType == 'TIME') {
return 'TIME WITHOUT TIME ZONE';
}
return sqlType;
}