mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2024-11-22 20:33:10 +00:00
add fields
This commit is contained in:
parent
81760963b0
commit
b3d1362370
1 changed files with 7 additions and 6 deletions
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue