Include mysql column comments into generated types

This commit is contained in:
go-jet 2023-03-31 14:43:47 +02:00
parent fa69565dbf
commit 7b36f31cad
6 changed files with 33 additions and 11 deletions

View file

@ -7,6 +7,7 @@ type Column struct {
IsNullable bool
IsGenerated bool
DataType DataType
Comment string
}
// DataTypeKind is database type kind(base, enum, user-defined, array)