diff options
author | 2021-08-26 11:28:16 +0200 | |
---|---|---|
committer | 2021-08-26 11:28:16 +0200 | |
commit | ddc120d5e6e0f18f235a6b5bbe5ceec86efedc41 (patch) | |
tree | 08869fd4514e7ba67c57e81e001df0e1c329414c /internal/gtsmodel/application.go | |
parent | Pg to bun (#148) (diff) | |
download | gotosocial-ddc120d5e6e0f18f235a6b5bbe5ceec86efedc41.tar.xz |
fix public timeline bug (#150)
Diffstat (limited to 'internal/gtsmodel/application.go')
-rw-r--r-- | internal/gtsmodel/application.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/internal/gtsmodel/application.go b/internal/gtsmodel/application.go index a6976eafd..12a21d298 100644 --- a/internal/gtsmodel/application.go +++ b/internal/gtsmodel/application.go @@ -24,17 +24,17 @@ type Application struct { // id of this application in the db ID string `bun:"type:CHAR(26),pk,notnull"` // name of the application given when it was created (eg., 'tusky') - Name string + Name string `bun:",nullzero"` // website for the application given when it was created (eg., 'https://tusky.app') - Website string + Website string `bun:",nullzero"` // redirect uri requested by the application for oauth2 flow - RedirectURI string + RedirectURI string `bun:",nullzero"` // id of the associated oauth client entity in the db - ClientID string `bun:"type:CHAR(26)"` + ClientID string `bun:"type:CHAR(26),nullzero"` // secret of the associated oauth client entity in the db - ClientSecret string + ClientSecret string `bun:",nullzero"` // scopes requested when this app was created - Scopes string + Scopes string `bun:",nullzero"` // a vapid key generated for this app when it was created - VapidKey string + VapidKey string `bun:",nullzero"` } |