Add db access tags to inbound job
This commit is contained in:
parent
9a7e420c83
commit
b39415e695
1 changed files with 3 additions and 3 deletions
|
@ -24,13 +24,13 @@ type InboundJob struct {
|
||||||
ID uint `gorm:"primarykey"`
|
ID uint `gorm:"primarykey"`
|
||||||
CreatedAt time.Time
|
CreatedAt time.Time
|
||||||
// Raw data, could be json or gob data, check source for how to interpret
|
// Raw data, could be json or gob data, check source for how to interpret
|
||||||
RawData []byte
|
RawData []byte `gorm:"->;<-create"`
|
||||||
// Where this job is coming from. Important for figuring out how to decode the raw data and what to do with it
|
// Where this job is coming from. Important for figuring out how to decode the raw data and what to do with it
|
||||||
Source InboundJobSource
|
Source InboundJobSource `gorm:"->;<-create"`
|
||||||
|
|
||||||
// Section: Various data
|
// Section: Various data
|
||||||
// TODO: Expand based on needs
|
// TODO: Expand based on needs
|
||||||
|
|
||||||
// If from an inbox, include the owner id here
|
// If from an inbox, include the owner id here
|
||||||
InboxOwner *string
|
InboxOwner *string `gorm:"->;<-create"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue