Browse Source

修改表名

DESKTOP-53URE31\USER 8 months ago
parent
commit
56adee64be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ent/schema/batch_msg.go

+ 1 - 1
ent/schema/batch_msg.go

@@ -46,6 +46,6 @@ func (BatchMsg) Indexes() []ent.Index {
 func (BatchMsg) Annotations() []schema.Annotation {
 	return []schema.Annotation{
 		entsql.WithComments(true),
-		entsql.Annotation{Table: "batch_msgs"},
+		entsql.Annotation{Table: "batch_msg"},
 	}
 }