mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-22 11:46:40 +00:00
add fields
This commit is contained in:
parent
81760963b0
commit
b3d1362370
|
@ -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