From b3d13623700ab340e6f1bd786998cc92c175a9ae Mon Sep 17 00:00:00 2001 From: tsmethurst Date: Sat, 20 Mar 2021 19:04:35 +0100 Subject: [PATCH] add fields --- internal/gtsmodel/application.go | 13 +++++++------ 1 file 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"` }