Implemented developer database downloads

This commit is contained in:
2019-09-07 19:56:13 +09:00
parent 59b9be5992
commit 4e6aa5eef6
33 changed files with 155 additions and 46 deletions

View File

@ -4,7 +4,7 @@ import "errors"
// PushSubscriptions is a list of push subscriptions made by a user.
type PushSubscriptions struct {
UserID UserID `json:"userId"`
UserID UserID `json:"userId" primary:"true"`
Items []*PushSubscription `json:"items"`
}