migrate/schema: Confusion of M2M table structure · Issue #957 · ent/ent

User table defined as: // Fields of the User. func (User) Fields() []ent.Field { return []ent.Field{ field.String("name").Unique(), } } // Edges of the User. func (User) Edges() []ent.Edge { return...