- change index for StoreOpRequest
This commit is contained in:
@@ -97,6 +97,13 @@ type StoreOpRequest struct {
|
|||||||
|
|
||||||
func (*StoreOpRequest) TableUnique() [][]string {
|
func (*StoreOpRequest) TableUnique() [][]string {
|
||||||
return [][]string{
|
return [][]string{
|
||||||
[]string{"DeletedAt", "StoreID", "Type", "ItemID"},
|
[]string{"StoreID", "Type", "ItemID", "DeletedAt"},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*StoreOpRequest) TableIndex() [][]string {
|
||||||
|
return [][]string{
|
||||||
|
[]string{"DeletedAt"},
|
||||||
|
[]string{"StoreID", "Status", "Type"},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user