mirror of
1
Fork 0

add fields

This commit is contained in:
tsmethurst 2021-03-20 19:04:35 +01:00
parent 81760963b0
commit b3d1362370
1 changed files with 7 additions and 6 deletions

View File

@ -19,11 +19,12 @@
package gtsmodel package gtsmodel
type Application struct { type Application struct {
ID string `pg:"type:uuid,default:gen_random_uuid(),pk,notnull"` ID string `pg:"type:uuid,default:gen_random_uuid(),pk,notnull"`
Name string Name string
Website string Website string
RedirectURI string `json:"redirect_uri"` RedirectURI string `json:"redirect_uri"`
ClientID string `json:"client_id"` ClientID string `json:"client_id"`
ClientSecret string `json:"client_secret"` ClientSecret string `json:"client_secret"`
VapidKey string `json:"vapid_key"` Scopes string `json:"scopes"`
VapidKey string `json:"vapid_key"`
} }