caipin 4 年之前
父节点
当前提交
31716e81b1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/cm_tree_contracts.go

+ 1 - 1
models/cm_tree_contracts.go

@@ -6,7 +6,7 @@ import (
 
 type CmTreeContracts struct {
 	Id               int       `xorm:"not null pk autoincr comment('自增ID') INT(11)"`
-	TreeId           int       `xorm:"not null comment('树ID') TINYINT(4)"`
+	TreeId           int       `xorm:"not null comment('树ID') INT(11)"`
 	ParentId         int       `xorm:"not null default 0 comment('父级ID') INT(11)"`
 	Name             string    `xorm:"not null comment('名称') VARCHAR(64)"`
 	Code             string    `xorm:"comment('项目节编号') VARCHAR(32)"`