caipin 4 년 전
부모
커밋
b0ab28e00f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      models/cm_safe.go

+ 1 - 0
models/cm_safe.go

@@ -15,4 +15,5 @@ type CmSafe struct {
 	InspectionDetail string    `xorm:"comment('现场检查情况') TEXT"`
 	Demand           string    `xorm:"comment('处理要求') VARCHAR(128)"`
 	Status           int       `xorm:"default 0 comment('状态') INT(11)"`
+	Uid              int       `xorm:"not null default 0 comment('创建者id') INT(11)"`
 }