diff --git a/business/model/store_sku.go b/business/model/store_sku.go index 66bc9ba17..66efb31c7 100644 --- a/business/model/store_sku.go +++ b/business/model/store_sku.go @@ -207,7 +207,7 @@ type StoreSkuAudit struct { Remark string `orm:"size(255)" json:"remark"` } -func (*StoreSkuAudit) TableUnique() [][]string { +func (*StoreSkuAudit) TableIndex() [][]string { return [][]string{ []string{"StoreID", "Type", "NameID", "Status", "DeletedAt"}, }