add default set

添加默认值
This commit is contained in:
xxjwxc
2020-09-11 23:51:49 +08:00
parent 2ef0cca3d4
commit aa434356e0
9 changed files with 51 additions and 10 deletions

View File

@@ -38,9 +38,10 @@ type TabInfo struct {
// ColumnsInfo Columns list .表列信息
type ColumnsInfo struct {
BaseInfo
Type string // Type.类型标记
Index []KList // index list.index列表
IsNull bool // null if db is set null
Type string // Type.类型标记
Default string // 默认值
Index []KList // index list.index列表
ForeignKeyList []ForeignKey // Foreign key list . 表的外键信息
}