Jelajahi Sumber

修改表名

DESKTOP-53URE31\USER 8 bulan lalu
induk
melakukan
56adee64be
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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"},
 	}
 }