mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-10 19:07:29 -06:00
Store Web Push subscriptions in DB
This commit is contained in:
parent
db2ba34630
commit
0cffb8784e
25 changed files with 546 additions and 69 deletions
|
|
@ -22,7 +22,7 @@ package gtsmodel
|
|||
//
|
||||
// See: https://datatracker.ietf.org/doc/html/rfc8292
|
||||
type VAPIDKeyPair struct {
|
||||
ID int `bun:"pk,notnull"`
|
||||
Public string `bun:"notnull,nullzero"`
|
||||
Private string `bun:"notnull,nullzero"`
|
||||
ID int `bun:",pk,notnull"`
|
||||
Public string `bun:",notnull,nullzero"`
|
||||
Private string `bun:",notnull,nullzero"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue