We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6787f6a commit b24cfedCopy full SHA for b24cfed
extra/ent/schema/tpl/basic.tpl
@@ -35,6 +35,7 @@ func ({{.ModelName}}) Indexes() []ent.Index {
35
func ({{.ModelName}}) Annotations() []schema.Annotation {
36
return []schema.Annotation{
37
entsql.WithComments(true),
38
+ schema.Comment("{{.ModelName}}"),
39
entsql.Annotation{Table: "{{.ModelNameLowercase}}"},
40
}
41
0 commit comments