Răsfoiți Sursa

修改表名

DESKTOP-53URE31\USER 8 luni în urmă
părinte
comite
56adee64be
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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"},
 	}
 }