diff --git a/business/model/act.go b/business/model/act.go index 471c26eaf..3003d0792 100644 --- a/business/model/act.go +++ b/business/model/act.go @@ -75,6 +75,7 @@ type Act struct { Remark string `orm:"size(255)" json:"remark"` } +// test func (*Act) TableUnique() [][]string { return [][]string{ []string{"Name", "Type", "DeletedAt"},