update backend
This commit is contained in:
@ -25,11 +25,11 @@ type BrandRunway struct {
|
||||
}
|
||||
|
||||
// TableName 指定表名。
|
||||
func (BrandRunway) TableName() string { return "brand_runway" }
|
||||
func (BrandRunway) TableName() string { return "brand_runways" }
|
||||
|
||||
// RunwayRow 走秀档案的查询投影行。
|
||||
//
|
||||
// 独立于 BrandRunway 定义,是为了承载 JOIN brand 得到的品牌名(en/cn 两列)。
|
||||
// 独立于 BrandRunway 定义,是为了承载 JOIN brands 得到的品牌名(en/cn 两列)。
|
||||
type RunwayRow struct {
|
||||
ID uint32 `gorm:"column:id"`
|
||||
BrandID uint32 `gorm:"column:brand_id"`
|
||||
|
||||
Reference in New Issue
Block a user