- 启用门店商品临时不可售,暂时不建AutoSaleAt相关的索引
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
const (
|
||||
StoreSkuBindStatusNA = -2
|
||||
StoreSkuBindStatusDeleted = -1
|
||||
@@ -104,7 +106,7 @@ type StoreSkuBind struct {
|
||||
MtwmSyncStatus int8 `orm:"default(2)"`
|
||||
WscSyncStatus int8 `orm:"default(2)"`
|
||||
|
||||
// AutoSaleAt time.Time `orm:"type(datetime);null" json:"autoSaleAt"`
|
||||
AutoSaleAt time.Time `orm:"type(datetime);null" json:"autoSaleAt"`
|
||||
}
|
||||
|
||||
func (*StoreSkuBind) TableUnique() [][]string {
|
||||
@@ -116,6 +118,7 @@ func (*StoreSkuBind) TableUnique() [][]string {
|
||||
func (*StoreSkuBind) TableIndex() [][]string {
|
||||
return [][]string{
|
||||
[]string{"SkuID", "StoreID", "DeletedAt"},
|
||||
// []string{"AutoSaleAt", "DeletedAt", "StoreID"},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user