Regenerate
This commit is contained in:
parent
115a167e75
commit
91ff8d2ea1
9 changed files with 193 additions and 14 deletions
|
@ -199,6 +199,11 @@ func newNotification(db *gorm.DB, opts ...gen.DOOption) notification {
|
|||
}{
|
||||
RelationField: field.NewRelation("SourceNote.Creator", "models.User"),
|
||||
},
|
||||
Origin: struct {
|
||||
field.RelationField
|
||||
}{
|
||||
RelationField: field.NewRelation("SourceNote.Origin", "models.RemoteServer"),
|
||||
},
|
||||
AttachmentRelations: struct {
|
||||
field.RelationField
|
||||
Note struct {
|
||||
|
@ -541,6 +546,9 @@ type notificationBelongsToSourceNote struct {
|
|||
Creator struct {
|
||||
field.RelationField
|
||||
}
|
||||
Origin struct {
|
||||
field.RelationField
|
||||
}
|
||||
AttachmentRelations struct {
|
||||
field.RelationField
|
||||
Note struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue