add fields
This commit is contained in:
parent
81760963b0
commit
b3d1362370
|
@ -19,11 +19,12 @@
|
||||||
package gtsmodel
|
package gtsmodel
|
||||||
|
|
||||||
type Application struct {
|
type Application struct {
|
||||||
ID string `pg:"type:uuid,default:gen_random_uuid(),pk,notnull"`
|
ID string `pg:"type:uuid,default:gen_random_uuid(),pk,notnull"`
|
||||||
Name string
|
Name string
|
||||||
Website string
|
Website string
|
||||||
RedirectURI string `json:"redirect_uri"`
|
RedirectURI string `json:"redirect_uri"`
|
||||||
ClientID string `json:"client_id"`
|
ClientID string `json:"client_id"`
|
||||||
ClientSecret string `json:"client_secret"`
|
ClientSecret string `json:"client_secret"`
|
||||||
VapidKey string `json:"vapid_key"`
|
Scopes string `json:"scopes"`
|
||||||
|
VapidKey string `json:"vapid_key"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue