fix(review): harden payment, oauth, and migration paths
This commit is contained in:
@@ -79,7 +79,8 @@ func (AuthIdentity) Edges() []ent.Edge {
|
||||
Field("user_id").
|
||||
Required().
|
||||
Unique(),
|
||||
edge.To("channels", AuthIdentityChannel.Type),
|
||||
edge.To("channels", AuthIdentityChannel.Type).
|
||||
Annotations(entsql.OnDelete(entsql.Cascade)),
|
||||
edge.To("adoption_decisions", IdentityAdoptionDecision.Type),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user