Include mysql column comments into generated types
This commit is contained in:
parent
fa69565dbf
commit
7b36f31cad
6 changed files with 33 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue