diff options
author | 2021-03-20 19:04:35 +0100 | |
---|---|---|
committer | 2021-03-20 19:04:35 +0100 | |
commit | b3d13623700ab340e6f1bd786998cc92c175a9ae (patch) | |
tree | b1c2c327867b5a07d967dbd734755c584dd814d3 /internal/gtsmodel | |
parent | formatting,comments (diff) | |
download | gotosocial-b3d13623700ab340e6f1bd786998cc92c175a9ae.tar.xz |
add fields
Diffstat (limited to 'internal/gtsmodel')
-rw-r--r-- | internal/gtsmodel/application.go | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/internal/gtsmodel/application.go b/internal/gtsmodel/application.go index 80dc1fd06..c0d6dddaf 100644 --- a/internal/gtsmodel/application.go +++ b/internal/gtsmodel/application.go @@ -19,11 +19,12 @@ package gtsmodel type Application struct { - ID string `pg:"type:uuid,default:gen_random_uuid(),pk,notnull"` - Name string - Website string - RedirectURI string `json:"redirect_uri"` - ClientID string `json:"client_id"` + ID string `pg:"type:uuid,default:gen_random_uuid(),pk,notnull"` + Name string + Website string + RedirectURI string `json:"redirect_uri"` + ClientID string `json:"client_id"` ClientSecret string `json:"client_secret"` - VapidKey string `json:"vapid_key"` + Scopes string `json:"scopes"` + VapidKey string `json:"vapid_key"` } |