feat: 更新构建和推送工作流,添加 Node.js 和 Go 环境设置,优化 Docker 镜像构建流程
fix: 修复 order-api.yaml 中的格式问题 refactor: 在多个逻辑文件中重新排序导入语句,确保一致性
This commit is contained in:
@@ -22,7 +22,7 @@ func (Orders) Annotations() []schema.Annotation {
|
||||
entsql.Annotation{
|
||||
Table: "orders",
|
||||
Checks: map[string]string{
|
||||
"chk_order_status": "status IN ('pending_payment', 'pending_accept', 'in_progress', 'pending_close', 'pending_review', 'disputed', 'completed', 'cancelled')",
|
||||
"chk_order_status": "status IN ('pending_payment', 'pending_accept', 'in_progress', 'pending_close', 'pending_review', 'disputed', 'completed', 'cancelled')",
|
||||
"chk_price_positive": "total_price > 0",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user