mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
doc: add entsql.WithComments annotation (#3192)
This commit is contained in:
@@ -44,6 +44,7 @@ func (Media) Indexes() []ent.Index {
|
||||
}
|
||||
}
|
||||
|
||||
// Annotations of the Media.
|
||||
func (Media) Annotations() []schema.Annotation {
|
||||
return []schema.Annotation{
|
||||
entsql.WithComments(true),
|
||||
|
||||
Reference in New Issue
Block a user