schema updates

This commit is contained in:
Hayden 2022-12-05 13:30:49 -09:00
parent 7cc3ad6cea
commit cb45c2981d
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -38,10 +38,6 @@ func (Document) Edges() []ent.Edge {
Ref("documents").
Required().
Unique(),
edge.To("document_tokens", DocumentToken.Type).
Annotations(entsql.Annotation{
OnDelete: entsql.Cascade,
}),
edge.To("attachments", Attachment.Type).
Annotations(entsql.Annotation{
OnDelete: entsql.Cascade,