caipin %!s(int64=4) %!d(string=hai) anos
pai
achega
b0ab28e00f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)"`
 }