()
| 62 | } |
| 63 | |
| 64 | func (Project) Indexes() []ent.Index { |
| 65 | return []ent.Index{ |
| 66 | index.Fields("name").Edges("organization").Unique().Annotations( |
| 67 | entsql.IndexWhere("deleted_at IS NULL"), |
| 68 | ), |
| 69 | index.Edges("organization").Annotations( |
| 70 | entsql.IndexWhere("deleted_at IS NULL"), |
| 71 | ), |
| 72 | } |
| 73 | } |
nothing calls this directly
no test coverage detected