mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-05 17:10:30 +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").
|
Ref("documents").
|
||||||
Required().
|
Required().
|
||||||
Unique(),
|
Unique(),
|
||||||
edge.To("document_tokens", DocumentToken.Type).
|
|
||||||
Annotations(entsql.Annotation{
|
|
||||||
OnDelete: entsql.Cascade,
|
|
||||||
}),
|
|
||||||
edge.To("attachments", Attachment.Type).
|
edge.To("attachments", Attachment.Type).
|
||||||
Annotations(entsql.Annotation{
|
Annotations(entsql.Annotation{
|
||||||
OnDelete: entsql.Cascade,
|
OnDelete: entsql.Cascade,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue