()
| 221 | |
| 222 | // ActorRefreshRequest is a request to refresh an actor's data. |
| 223 | type ActorRefreshRequest struct { |
| 224 | Request |
| 225 | // ActorID is the ID of the actor to refresh. |
| 226 | ActorID snowflake.ID `gorm:"uniqueIndex;not null;"` |
| 227 | // Actor is the actor to refresh. |
| 228 | Actor *Actor `gorm:"constraint:OnDelete:CASCADE;<-:false;"` |