From 28de9a48799dfabb9a664f846a41c9fa19e18972 Mon Sep 17 00:00:00 2001 From: Tyschitskaya Maria Date: Wed, 16 Nov 2022 14:07:33 +0300 Subject: [PATCH] add public_url field to connection model --- core/db/models/connection.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/db/models/connection.go b/core/db/models/connection.go index 204111d..0f68ed3 100644 --- a/core/db/models/connection.go +++ b/core/db/models/connection.go @@ -15,4 +15,5 @@ type Connection struct { ID int `gorm:"primary_key" json:"id"` Active bool `json:"active,omitempty"` Lang string `gorm:"column:lang; type:varchar(2)" json:"lang,omitempty" binding:"max=2"` + PublicURL string `gorm:"column:public_url; type:varchar(255);" json:"publicURL,omitempty" binding:"max=255"` }