Skip to content

Commit

Permalink
feat: change coupon_set_info price gorm tag
Browse files Browse the repository at this point in the history
  • Loading branch information
sjatsh committed Nov 6, 2023
1 parent e020516 commit 031ef18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tables/t_coupon_set_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type CouponSetInfo struct {
Root string `gorm:"column:root;default:;NOT NULL"`
Name string `gorm:"column:name;default:;NOT NULL"`
Note string `gorm:"column:note;default:;NOT NULL"`
Price decimal.Decimal `gorm:"price:amount; type:decimal(60,0) NOT NULL DEFAULT '0' COMMENT '';"`
Price decimal.Decimal `gorm:"price:amount; type:decimal(50,10) NOT NULL DEFAULT '0' COMMENT '';"`
Num int `gorm:"column:num;default:0;NOT NULL"`
BeginAt int64 `gorm:"column:begin_at;default:0;NOT NULL"`
ExpiredAt int64 `gorm:"column:expired_at;default:0;NOT NULL"`
Expand Down

0 comments on commit 031ef18

Please sign in to comment.