add autoIncrement

This commit is contained in:
xxj
2022-07-06 18:41:33 +08:00
parent fc112a736b
commit 3dea08f1e4
4 changed files with 7 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ type TabInfo struct {
type ColumnsInfo struct {
BaseInfo
IsNull bool // null if db is set null
Extra string // Extra (AUTO_INCREMENT 自增加)
Type string // Type.类型标记
Gormt string // 默认值
Index []KList // index list.index列表
@@ -117,7 +118,7 @@ type funDef struct {
Em []EmInfo // index 列表
Primary []FList // primary unique
Index []FList // index
IsOutPage bool // 是否开启分页
IsOutPage bool // 是否开启分页
}
//