mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-05 09:10:26 +00:00
schema updates
This commit is contained in:
parent
7cc3ad6cea
commit
cb45c2981d
1 changed files with 0 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue