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)"`